Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.008362/0.008362, allocations: 102.3 kB / 15.73 MB, free: 5.539 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.001803/0.001803, allocations: 190.3 kB / 16.67 MB, free: 5.477 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.422/2.422, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 1.054 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7101/0.7114, allocations: 157.4 MB / 1.207 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01307/0.7245, allocations: 11.09 MB / 1.218 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009494/0.734, allocations: 5.796 MB / 1.224 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.7353, allocations: 51.69 kB / 1.224 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004271/0.7396, allocations: 1.73 MB / 1.226 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.7426, allocations: 1.139 MB / 1.227 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.7447, allocations: 0.8138 MB / 1.227 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002688/0.7474, allocations: 2.119 MB / 1.229 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.7489, allocations: 1.317 MB / 1.231 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.75, allocations: 0.8523 MB / 1.232 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.751, allocations: 0.9026 MB / 1.232 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.7512, allocations: 116 kB / 1.233 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.7534, allocations: 1.181 MB / 1.234 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004731/0.7539, allocations: 0.5181 MB / 1.234 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007432/0.7546, allocations: 0.7888 MB / 1.235 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.7577, allocations: 2.426 MB / 1.237 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7577, allocations: 4 kB / 1.237 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7577, allocations: 0 / 1.237 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.7577, allocations: 0 / 1.237 GB, free: 14.73 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.00268/0.7604, allocations: 1.864 MB / 1.239 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.7605, allocations: 8.031 kB / 1.239 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002091/0.7607, allocations: 219.4 kB / 1.239 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.7647, allocations: 0.6737 MB / 1.24 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.7664, allocations: 1 MB / 1.241 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.401e-05/0.7665, allocations: 98.89 kB / 1.241 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.7667, allocations: 120.4 kB / 1.241 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.7695, allocations: 2.214 MB / 1.243 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.7695, allocations: 19.86 kB / 1.243 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.7696, allocations: 63.97 kB / 1.244 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001869/0.7698, allocations: 166.3 kB / 1.244 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.7724, allocations: 1.867 MB / 1.246 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.7836, allocations: 12.44 MB / 1.258 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.7875, allocations: 1.964 MB / 1.26 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007819/0.7883, allocations: 0.6089 MB / 1.26 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.7885, allocations: 102.1 kB / 1.26 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.7886, allocations: 47.5 kB / 1.26 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=103): time 3.035e-06/0.7886, allocations: 0 / 1.26 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.005756/0.7943, allocations: 3.706 MB / 1.264 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.7944, allocations: 60.41 kB / 1.264 GB, free: 2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.7954, allocations: 0.932 MB / 1.265 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/0.7955, allocations: 41.7 kB / 1.265 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.7959, allocations: 0.7314 MB / 1.266 GB, free: 268 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.7962, allocations: 386.5 kB / 1.266 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003771/0.7966, allocations: 283.2 kB / 1.266 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.7967, allocations: 309.1 kB / 1.267 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008778/0.7976, allocations: 0.609 MB / 1.267 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.7988, allocations: 1.109 MB / 1.268 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.801, allocations: 1.832 MB / 1.27 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.801, allocations: 4 kB / 1.27 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003151/0.8042, allocations: 2.103 MB / 1.272 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.8042, allocations: 8 kB / 1.272 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.8042, allocations: 16 kB / 1.272 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007651/0.805, allocations: 263.3 kB / 1.272 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.8062, allocations: 371.4 kB / 1.273 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008725/0.815, allocations: 11.59 MB / 1.284 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.8161, allocations: 127.8 kB / 1.284 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.8162, allocations: 68 kB / 1.284 GB, free: 11.59 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000674/0.8169, allocations: 401.3 kB / 1.285 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.8171, allocations: 130.5 kB / 1.285 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.8199, allocations: 1.681 MB / 1.286 GB, free: 9.348 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.8199, allocations: 12 kB / 1.286 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.8199, allocations: 0 / 1.286 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.8199, allocations: 11.97 kB / 1.286 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/0.8251, allocations: 3.295 MB / 1.29 GB, free: 5.883 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.8251, allocations: 4 kB / 1.29 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008117/0.8259, allocations: 219.6 kB / 1.29 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006669/0.8266, allocations: 238.9 kB / 1.29 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.839e-05/0.8267, allocations: 35.88 kB / 1.29 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008286/0.835, allocations: 11.56 MB / 1.301 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.835, allocations: 15.92 kB / 1.301 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.8377, allocations: 1.796 MB / 1.303 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006833/0.8384, allocations: 307.4 kB / 1.303 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.8387, allocations: 27.98 kB / 1.303 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/0.8394, allocations: 87.88 kB / 1.304 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.8397, allocations: 100.6 kB / 1.304 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.8397, allocations: 39.94 kB / 1.304 GB, free: 6.191 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000813/0.8406, allocations: 0.6177 MB / 1.304 GB, free: 5.566 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8406, allocations: 4 kB / 1.304 GB, free: 5.562 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001385/0.842, allocations: 392 kB / 1.305 GB, free: 5.18 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002885/0.8448, allocations: 2.39 MB / 1.307 GB, free: 2.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003461/0.8483, allocations: 2.504 MB / 1.309 GB, free: 68 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8483, allocations: 0 / 1.309 GB, free: 68 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.8504, allocations: 1.627 MB / 1.311 GB, free: 14.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.8522, allocations: 361 kB / 1.311 GB, free: 14 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.8684, allocations: 11.48 MB / 1.323 GB, free: 1.773 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.8695, allocations: 1.323 MB / 1.324 GB, free: 424 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0009518/0.8705, allocations: 363.3 kB / 1.324 GB, free: 56 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000699/0.8712, allocations: 0.5384 MB / 1.325 GB, free: 15.51 MB / 1.061 GB Notification: Performance of SimCode: time 2.064e-06/0.8712, allocations: 0 / 1.325 GB, free: 15.51 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.9773, allocations: 28.74 MB / 1.353 GB, free: 3.164 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.93, allocations: 5.641 kB / 1.353 GB, free: 3.16 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches