Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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.006518/0.006518, allocations: 98.36 kB / 15.73 MB, free: 6.062 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.001804/0.001804, allocations: 200 kB / 16.68 MB, free: 5.977 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.692/2.692, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 71.83 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2782, allocations: 162.3 MB / 1.242 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008392/0.2866, allocations: 6.802 MB / 1.249 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5074/0.7941, allocations: 3.058 MB / 1.251 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006047/0.7947, allocations: 25.41 kB / 1.252 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.7968, allocations: 0.9464 MB / 1.252 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009063/0.7977, allocations: 0.5008 MB / 1.253 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008514/0.7986, allocations: 450.1 kB / 1.253 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.7996, allocations: 1.232 MB / 1.255 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007753/0.8004, allocations: 0.6527 MB / 1.255 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.8008, allocations: 478.8 kB / 1.256 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005692/0.8014, allocations: 0.5226 MB / 1.256 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.8015, allocations: 67.09 kB / 1.256 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005685/0.8021, allocations: 379.7 kB / 1.257 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.8024, allocations: 312.4 kB / 1.257 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003574/0.8027, allocations: 451 kB / 1.257 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.8038, allocations: 1.225 MB / 1.259 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8038, allocations: 0 / 1.259 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8038, allocations: 1.094 kB / 1.259 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.8039, allocations: 0 / 1.259 GB, free: 6.824 MB / 0.9981 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.001478/0.8053, allocations: 1.196 MB / 1.26 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.8054, allocations: 9.812 kB / 1.26 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.8055, allocations: 116 kB / 1.26 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.8069, allocations: 246.3 kB / 1.26 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007003/0.8076, allocations: 0.6085 MB / 1.261 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.8076, allocations: 50.38 kB / 1.261 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/0.8077, allocations: 65.12 kB / 1.261 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.809, allocations: 1.095 MB / 1.262 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.809, allocations: 10.77 kB / 1.262 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.8091, allocations: 33.66 kB / 1.262 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.8093, allocations: 88.5 kB / 1.262 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.8103, allocations: 0.7481 MB / 1.263 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.8142, allocations: 5.882 MB / 1.268 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007906/0.815, allocations: 0.5618 MB / 1.269 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.8154, allocations: 325.7 kB / 1.269 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.8154, allocations: 5.625 kB / 1.269 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.8154, allocations: 37.56 kB / 1.269 GB, free: 15.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 1.523e-06/0.8154, allocations: 3.938 kB / 1.269 GB, free: 15.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.003241/0.8187, allocations: 1.995 MB / 1.271 GB, free: 14.28 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.8187, allocations: 58.53 kB / 1.271 GB, free: 14.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005108/0.8193, allocations: 0.5685 MB / 1.272 GB, free: 13.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.8193, allocations: 30.45 kB / 1.272 GB, free: 13.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.8196, allocations: 426.2 kB / 1.272 GB, free: 13.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.8197, allocations: 184.4 kB / 1.272 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.8199, allocations: 131.3 kB / 1.273 GB, free: 13.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.8201, allocations: 374.1 kB / 1.273 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.8205, allocations: 273.6 kB / 1.273 GB, free: 12.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.821, allocations: 496.4 kB / 1.274 GB, free: 12.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009667/0.822, allocations: 0.8129 MB / 1.275 GB, free: 12.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.822, allocations: 5.469 kB / 1.275 GB, free: 12.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001675/0.8237, allocations: 1.088 MB / 1.276 GB, free: 11.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8237, allocations: 8.219 kB / 1.276 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8237, allocations: 9.047 kB / 1.276 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007525/0.8245, allocations: 278.5 kB / 1.276 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.8249, allocations: 129.7 kB / 1.276 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/0.8319, allocations: 7.142 MB / 1.283 GB, free: 5.215 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.8323, allocations: 35.69 kB / 1.283 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.8324, allocations: 32 kB / 1.283 GB, free: 5.199 MB / 1.014 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.0003/0.8327, allocations: 262.7 kB / 1.283 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.8328, allocations: 73.7 kB / 1.283 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.8343, allocations: 0.889 MB / 1.284 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.8343, allocations: 4.5 kB / 1.284 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8344, allocations: 3.688 kB / 1.284 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.8344, allocations: 4.234 kB / 1.284 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.8368, allocations: 1.719 MB / 1.286 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.8369, allocations: 1.312 kB / 1.286 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.8371, allocations: 70.2 kB / 1.286 GB, free: 3.707 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006916/0.8378, allocations: 271 kB / 1.286 GB, free: 3.617 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.8378, allocations: 10.56 kB / 1.286 GB, free: 3.609 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006554/0.8444, allocations: 7.127 MB / 1.293 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8444, allocations: 5.344 kB / 1.293 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.8459, allocations: 0.9955 MB / 1.294 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.8461, allocations: 190.8 kB / 1.294 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-05/0.8462, allocations: 12.7 kB / 1.294 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.8465, allocations: 29.69 kB / 1.294 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.8467, allocations: 49.61 kB / 1.294 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.8467, allocations: 15.59 kB / 1.294 GB, free: 12.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004119/0.8471, allocations: 389.3 kB / 1.295 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8471, allocations: 0 / 1.295 GB, free: 12.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000654/0.8478, allocations: 224.8 kB / 1.295 GB, free: 12.47 MB / 1.029 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.001768/0.8496, allocations: 1.545 MB / 1.297 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.8514, allocations: 1.28 MB / 1.298 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8514, allocations: 1.094 kB / 1.298 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.8526, allocations: 0.8889 MB / 1.299 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000934/0.8536, allocations: 221.3 kB / 1.299 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008028/0.8616, allocations: 6.418 MB / 1.305 GB, free: 6.289 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.8623, allocations: 1.01 MB / 1.306 GB, free: 5.559 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003369/0.8626, allocations: 121.3 kB / 1.306 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.8629, allocations: 251.3 kB / 1.306 GB, free: 5.34 MB / 1.029 GB Notification: Performance of SimCode: time 2.31e-07/0.8629, allocations: 0 / 1.306 GB, free: 5.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.466/2.329, allocations: 17.5 MB / 1.324 GB, free: 2.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.68/21.01, allocations: 14.77 kB / 1.324 GB, free: 2.121 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches