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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0009445/0.0009444, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005777/0.005777, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.612/2.612, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8.891 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2897, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0111/0.3008, allocations: 10.55 MB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008344/0.3092, allocations: 5.77 MB / 1.075 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.3102, allocations: 43.69 kB / 1.075 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.311, allocations: 245.9 kB / 1.075 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.3139, allocations: 1.062 MB / 1.076 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.316, allocations: 0.7463 MB / 1.077 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003264/0.3192, allocations: 2.856 MB / 1.08 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004031/0.3233, allocations: 2.351 MB / 1.082 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.3246, allocations: 0.696 MB / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.3261, allocations: 0.8518 MB / 1.083 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.3263, allocations: 60 kB / 1.083 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.3287, allocations: 1.438 MB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005455/0.3293, allocations: 466.5 kB / 1.085 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009085/0.3302, allocations: 0.728 MB / 1.086 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.3332, allocations: 2.406 MB / 1.088 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3332, allocations: 0 / 1.088 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3332, allocations: 0 / 1.088 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.646e-05/0.3333, allocations: 4 kB / 1.088 GB, free: 6.465 MB / 0.8419 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.002691/0.336, allocations: 1.607 MB / 1.09 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.336, allocations: 11.97 kB / 1.09 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000241/0.3363, allocations: 215.4 kB / 1.09 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004224/0.3405, allocations: 0.6776 MB / 1.091 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.3418, allocations: 0.9108 MB / 1.092 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/0.3419, allocations: 94.91 kB / 1.092 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.3421, allocations: 128.2 kB / 1.092 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.3449, allocations: 2.21 MB / 1.094 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.345, allocations: 15.88 kB / 1.094 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.3451, allocations: 55.92 kB / 1.094 GB, free: 212 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/0.3453, allocations: 166.3 kB / 1.094 GB, free: 44 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.3479, allocations: 1.867 MB / 1.096 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.3584, allocations: 12.49 MB / 1.108 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/0.3624, allocations: 1.961 MB / 1.11 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/0.3632, allocations: 0.6128 MB / 1.111 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.3634, allocations: 102 kB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3634, allocations: 47.5 kB / 1.111 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=103): time 2.946e-06/0.3634, allocations: 0 / 1.111 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110): time 0.005626/0.3691, allocations: 3.714 MB / 1.115 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.3691, allocations: 64.41 kB / 1.115 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.3702, allocations: 0.9204 MB / 1.116 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.3702, allocations: 45.7 kB / 1.116 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.3707, allocations: 0.7275 MB / 1.116 GB, free: 8.285 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.371, allocations: 386.6 kB / 1.117 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.3711, allocations: 117.7 kB / 1.117 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.3712, allocations: 305.1 kB / 1.117 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008951/0.3721, allocations: 0.6129 MB / 1.118 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.3733, allocations: 1.106 MB / 1.119 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.3755, allocations: 1.835 MB / 1.121 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.3755, allocations: 4 kB / 1.121 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003132/0.3787, allocations: 2.1 MB / 1.123 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3787, allocations: 13.88 kB / 1.123 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.3787, allocations: 16 kB / 1.123 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007816/0.3795, allocations: 259.2 kB / 1.123 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3807, allocations: 375.4 kB / 1.123 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008095/0.3888, allocations: 10.77 MB / 1.134 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.39, allocations: 127.8 kB / 1.134 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.3901, allocations: 71.98 kB / 1.134 GB, free: 4.652 MB / 0.8887 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.0006361/0.3908, allocations: 399.7 kB / 1.134 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.391, allocations: 142.4 kB / 1.134 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/0.3939, allocations: 1.677 MB / 1.136 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.3939, allocations: 12 kB / 1.136 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3939, allocations: 0 / 1.136 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3939, allocations: 7.984 kB / 1.136 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004893/0.3988, allocations: 3.288 MB / 1.139 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.3988, allocations: 12 kB / 1.139 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008253/0.3997, allocations: 223.7 kB / 1.14 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006843/0.4004, allocations: 242.6 kB / 1.14 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/0.4004, allocations: 31.98 kB / 1.14 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007678/0.4081, allocations: 10.75 MB / 1.15 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.4082, allocations: 4 kB / 1.15 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.4108, allocations: 1.803 MB / 1.152 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.4114, allocations: 331.3 kB / 1.152 GB, free: 352 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.4116, allocations: 20 kB / 1.152 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007628/0.4124, allocations: 103.8 kB / 1.152 GB, free: 228 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.4126, allocations: 92.7 kB / 1.153 GB, free: 136 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-05/0.4126, allocations: 40 kB / 1.153 GB, free: 96 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007858/0.4134, allocations: 0.6152 MB / 1.153 GB, free: 15.47 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4134, allocations: 0 / 1.153 GB, free: 15.47 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001334/0.4148, allocations: 396 kB / 1.154 GB, free: 15.09 MB / 0.92 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.002966/0.4178, allocations: 2.378 MB / 1.156 GB, free: 12.59 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003428/0.4212, allocations: 2.493 MB / 1.158 GB, free: 9.988 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.4212, allocations: 8.312 kB / 1.158 GB, free: 9.98 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.4232, allocations: 1.629 MB / 1.16 GB, free: 8.25 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.4255, allocations: 328.3 kB / 1.16 GB, free: 7.934 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.4419, allocations: 12.6 MB / 1.173 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.443, allocations: 1.327 MB / 1.174 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001033/0.4441, allocations: 359.3 kB / 1.174 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006649/0.4447, allocations: 0.5383 MB / 1.175 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of SimCode: time 6.91e-07/0.4448, allocations: 0 / 1.175 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.4907, allocations: 26.73 MB / 1.201 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.4909, allocations: 244.6 kB / 1.201 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/2.968, allocations: 1.75 kB / 1.201 GB, free: 13.54 MB / 0.9669 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