Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005733/0.005733, allocations: 106.9 kB / 15.74 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 197.7 kB / 16.67 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.532/2.532, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 71.83 kB / 1.054 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6918/0.6932, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008258/0.7015, allocations: 6.733 MB / 1.214 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005071/0.7066, allocations: 3.043 MB / 1.217 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/0.7072, allocations: 23.88 kB / 1.217 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.7097, allocations: 0.9523 MB / 1.218 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.711, allocations: 0.4973 MB / 1.218 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.7121, allocations: 418.2 kB / 1.219 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.7136, allocations: 1.236 MB / 1.22 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.7146, allocations: 0.6568 MB / 1.22 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007891/0.7154, allocations: 482.3 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009073/0.7164, allocations: 0.5098 MB / 1.221 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.7166, allocations: 68 kB / 1.222 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008624/0.7174, allocations: 375.3 kB / 1.222 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.7178, allocations: 311.1 kB / 1.222 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005938/0.7184, allocations: 453.7 kB / 1.223 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.72, allocations: 1.215 MB / 1.224 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.72, allocations: 4 kB / 1.224 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.543e-06/0.72, allocations: 0 / 1.224 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.541e-05/0.7201, allocations: 0 / 1.224 GB, free: 12.58 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002197/0.7223, allocations: 1.161 MB / 1.225 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.7223, allocations: 12.03 kB / 1.225 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.7225, allocations: 122.7 kB / 1.225 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.7242, allocations: 239.5 kB / 1.225 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009568/0.7251, allocations: 0.5881 MB / 1.226 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.7252, allocations: 49.67 kB / 1.226 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.7253, allocations: 68.36 kB / 1.226 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.7268, allocations: 1.081 MB / 1.227 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.7268, allocations: 7.938 kB / 1.227 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.7269, allocations: 31.98 kB / 1.227 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/0.7271, allocations: 85.25 kB / 1.227 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.7283, allocations: 0.7543 MB / 1.228 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005825/0.7341, allocations: 5.874 MB / 1.234 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.7352, allocations: 0.5617 MB / 1.234 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004283/0.7356, allocations: 330 kB / 1.234 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.7357, allocations: 4.438 kB / 1.234 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.7357, allocations: 39 kB / 1.235 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.355e-06/0.7357, allocations: 0 / 1.235 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.00392/0.7397, allocations: 1.99 MB / 1.236 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.7397, allocations: 63.72 kB / 1.237 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.7404, allocations: 0.5547 MB / 1.237 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.7405, allocations: 33.7 kB / 1.237 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.7407, allocations: 418.9 kB / 1.238 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.7409, allocations: 169.6 kB / 1.238 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.7411, allocations: 122.6 kB / 1.238 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7412, allocations: 370.7 kB / 1.238 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.7416, allocations: 277.8 kB / 1.238 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.7421, allocations: 497 kB / 1.239 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/0.7431, allocations: 0.8055 MB / 1.24 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7432, allocations: 4 kB / 1.24 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001834/0.745, allocations: 1.091 MB / 1.241 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.745, allocations: 9.562 kB / 1.241 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.7451, allocations: 8.094 kB / 1.241 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008345/0.7459, allocations: 279.1 kB / 1.241 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.7464, allocations: 123.8 kB / 1.241 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/0.7528, allocations: 7.134 MB / 1.248 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.7534, allocations: 43.95 kB / 1.248 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.7535, allocations: 28.23 kB / 1.248 GB, free: 2.035 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003566/0.7538, allocations: 249.5 kB / 1.248 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.754, allocations: 71.16 kB / 1.248 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.7555, allocations: 0.8925 MB / 1.249 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7555, allocations: 4 kB / 1.249 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7555, allocations: 4 kB / 1.249 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.7555, allocations: 3.984 kB / 1.249 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.7581, allocations: 1.724 MB / 1.251 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.7581, allocations: 8.125 kB / 1.251 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.7584, allocations: 63.88 kB / 1.251 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007335/0.7591, allocations: 275.2 kB / 1.251 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.7592, allocations: 8 kB / 1.251 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006184/0.7654, allocations: 7.118 MB / 1.258 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.7654, allocations: 4 kB / 1.258 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.7669, allocations: 0.9796 MB / 1.259 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.7673, allocations: 192.2 kB / 1.259 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.7674, allocations: 11.94 kB / 1.259 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.7678, allocations: 31.97 kB / 1.26 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.7679, allocations: 47.88 kB / 1.26 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.7679, allocations: 12 kB / 1.26 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004272/0.7684, allocations: 387.1 kB / 1.26 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7684, allocations: 0 / 1.26 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007913/0.7692, allocations: 224 kB / 1.26 GB, free: 5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001773/0.771, allocations: 1.54 MB / 1.262 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.773, allocations: 1.275 MB / 1.263 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.773, allocations: 0 / 1.263 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.7742, allocations: 0.8932 MB / 1.264 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.7752, allocations: 220.6 kB / 1.264 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008542/0.7838, allocations: 6.351 MB / 1.27 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/0.7845, allocations: 1.005 MB / 1.271 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003822/0.7849, allocations: 118 kB / 1.271 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.7852, allocations: 255.3 kB / 1.272 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.7852, allocations: 0 / 1.272 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04723/0.8324, allocations: 17.67 MB / 1.289 GB, free: 7.449 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.97/10.8, allocations: 11.92 kB / 1.289 GB, free: 7.438 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches