Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_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.007306/0.007306, allocations: 101 kB / 15.73 MB, free: 5.988 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.00168/0.00168, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 60.97 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2461, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01313/0.2593, allocations: 11.09 MB / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009393/0.2687, allocations: 5.785 MB / 1.104 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.2699, allocations: 55.62 kB / 1.104 GB, free: 1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0048/0.2748, allocations: 1.728 MB / 1.106 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003532/0.2783, allocations: 1.151 MB / 1.107 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.2812, allocations: 0.8094 MB / 1.108 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003292/0.2845, allocations: 2.127 MB / 1.11 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.2867, allocations: 1.309 MB / 1.111 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.2881, allocations: 0.8523 MB / 1.112 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.2897, allocations: 0.9104 MB / 1.113 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.29, allocations: 112 kB / 1.113 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.2924, allocations: 1.169 MB / 1.114 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000652/0.2931, allocations: 0.5298 MB / 1.114 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.2942, allocations: 0.7926 MB / 1.115 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00341/0.2976, allocations: 2.423 MB / 1.118 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2977, allocations: 0 / 1.118 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of FrontEnd: time 9.81e-07/0.2977, allocations: 0 / 1.118 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.659e-05/0.2977, allocations: 0 / 1.118 GB, free: 3.035 MB / 0.8731 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.003563/0.3013, allocations: 1.875 MB / 1.119 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3014, allocations: 8.031 kB / 1.119 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002886/0.3017, allocations: 219.4 kB / 1.12 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/0.3063, allocations: 0.666 MB / 1.12 GB, free: 204 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.3085, allocations: 1 MB / 1.121 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-05/0.3086, allocations: 94.89 kB / 1.121 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/0.309, allocations: 136.2 kB / 1.121 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/0.3127, allocations: 2.206 MB / 1.124 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.787e-05/0.3127, allocations: 11.88 kB / 1.124 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.3129, allocations: 63.95 kB / 1.124 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002268/0.3132, allocations: 162.3 kB / 1.124 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/0.3163, allocations: 1.875 MB / 1.126 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.3285, allocations: 12.43 MB / 1.138 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004178/0.3327, allocations: 1.968 MB / 1.14 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008338/0.3336, allocations: 0.6049 MB / 1.14 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.3338, allocations: 110.1 kB / 1.14 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.3338, allocations: 43.5 kB / 1.141 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=103): time 3.837e-06/0.3338, allocations: 0 / 1.141 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110): time 0.006043/0.3399, allocations: 3.706 MB / 1.144 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.34, allocations: 64.41 kB / 1.144 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3411, allocations: 0.9204 MB / 1.145 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.221e-05/0.3412, allocations: 37.7 kB / 1.145 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.3417, allocations: 0.743 MB / 1.146 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.342, allocations: 378.6 kB / 1.146 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/0.3424, allocations: 287.2 kB / 1.146 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3425, allocations: 305.1 kB / 1.147 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008986/0.3434, allocations: 0.609 MB / 1.147 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.3446, allocations: 1.109 MB / 1.148 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.347, allocations: 1.828 MB / 1.15 GB, free: 15.61 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.347, allocations: 4 kB / 1.15 GB, free: 15.61 MB / 0.92 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00343/0.3504, allocations: 2.104 MB / 1.152 GB, free: 13.47 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.3505, allocations: 12 kB / 1.152 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.3506, allocations: 19.98 kB / 1.152 GB, free: 13.44 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007728/0.3513, allocations: 254.8 kB / 1.153 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.3527, allocations: 375.4 kB / 1.153 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008609/0.3613, allocations: 11.59 MB / 1.164 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.3627, allocations: 135.7 kB / 1.164 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.3628, allocations: 67.98 kB / 1.164 GB, free: 15.89 MB / 0.9356 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.0006926/0.3635, allocations: 412.2 kB / 1.165 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.3637, allocations: 126.5 kB / 1.165 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.3668, allocations: 1.681 MB / 1.167 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.3668, allocations: 12 kB / 1.167 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3668, allocations: 3.984 kB / 1.167 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.3668, allocations: 3.984 kB / 1.167 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/0.3719, allocations: 3.283 MB / 1.17 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.372, allocations: 4.688 kB / 1.17 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008611/0.3728, allocations: 223.6 kB / 1.17 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007154/0.3735, allocations: 242.7 kB / 1.17 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/0.3736, allocations: 31.94 kB / 1.17 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00846/0.3821, allocations: 11.56 MB / 1.182 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/0.3821, allocations: 20.03 kB / 1.182 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.385, allocations: 1.796 MB / 1.183 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/0.3857, allocations: 311.4 kB / 1.184 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.3858, allocations: 31.89 kB / 1.184 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/0.3866, allocations: 87.88 kB / 1.184 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.3868, allocations: 104.6 kB / 1.184 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.3869, allocations: 36 kB / 1.184 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007862/0.3877, allocations: 0.6177 MB / 1.185 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3877, allocations: 0 / 1.185 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001464/0.3891, allocations: 392 kB / 1.185 GB, free: 9.48 MB / 0.9512 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.003122/0.3923, allocations: 2.382 MB / 1.187 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003669/0.396, allocations: 2.5 MB / 1.19 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.396, allocations: 4 kB / 1.19 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.3981, allocations: 1.626 MB / 1.191 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.3998, allocations: 359.4 kB / 1.192 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.4148, allocations: 11.48 MB / 1.203 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009121/0.4157, allocations: 1.327 MB / 1.204 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009438/0.4167, allocations: 363.3 kB / 1.204 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000651/0.4173, allocations: 0.5383 MB / 1.205 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of SimCode: time 6.52e-07/0.4173, allocations: 0 / 1.205 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06848/0.4858, allocations: 28.28 MB / 1.233 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.91, allocations: 11.31 kB / 1.233 GB, free: 7.867 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches