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.01041/0.01041, allocations: 103.8 kB / 15.73 MB, free: 5.996 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.001913/0.001913, allocations: 194.6 kB / 16.67 MB, free: 5.922 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.141 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.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 65.36 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2333, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01274/0.2461, allocations: 11.09 MB / 1.098 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008684/0.2548, allocations: 5.789 MB / 1.104 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.2559, allocations: 55.62 kB / 1.104 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004239/0.2602, allocations: 1.727 MB / 1.106 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.2634, allocations: 1.143 MB / 1.107 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.2656, allocations: 0.813 MB / 1.108 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002692/0.2683, allocations: 2.127 MB / 1.11 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.2701, allocations: 1.309 MB / 1.111 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.2715, allocations: 0.8484 MB / 1.112 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.2731, allocations: 0.9143 MB / 1.113 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004088/0.2735, allocations: 116 kB / 1.113 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.2759, allocations: 1.181 MB / 1.114 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006183/0.2765, allocations: 0.5181 MB / 1.114 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.2777, allocations: 0.7888 MB / 1.115 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.2812, allocations: 2.427 MB / 1.118 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.2813, allocations: 3.984 kB / 1.118 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2813, allocations: 0 / 1.118 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.76e-05/0.2814, allocations: 0 / 1.118 GB, free: 3.055 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.003534/0.2849, allocations: 1.867 MB / 1.119 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.285, allocations: 16.03 kB / 1.119 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002709/0.2852, allocations: 211.4 kB / 1.12 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00442/0.2897, allocations: 0.666 MB / 1.12 GB, free: 232 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.2917, allocations: 1 MB / 1.121 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.2917, allocations: 102.8 kB / 1.121 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/0.292, allocations: 128.2 kB / 1.121 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/0.2951, allocations: 2.206 MB / 1.124 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/0.2952, allocations: 15.81 kB / 1.124 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.2953, allocations: 63.97 kB / 1.124 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/0.2955, allocations: 166.2 kB / 1.124 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.2983, allocations: 1.867 MB / 1.126 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/0.3094, allocations: 12.44 MB / 1.138 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.3136, allocations: 1.969 MB / 1.14 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008753/0.3146, allocations: 0.605 MB / 1.14 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.3148, allocations: 102.1 kB / 1.14 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.3148, allocations: 55.48 kB / 1.141 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=103): time 3.216e-06/0.3148, allocations: 3.938 kB / 1.141 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110): time 0.006309/0.3211, allocations: 3.706 MB / 1.144 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3212, allocations: 60.41 kB / 1.144 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.3225, allocations: 0.9204 MB / 1.145 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/0.3225, allocations: 41.7 kB / 1.145 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.323, allocations: 0.7313 MB / 1.146 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.3233, allocations: 386.6 kB / 1.146 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.3236, allocations: 283.2 kB / 1.146 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.3237, allocations: 309.1 kB / 1.147 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008665/0.3246, allocations: 0.6129 MB / 1.147 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.3258, allocations: 1.106 MB / 1.148 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.328, allocations: 1.832 MB / 1.15 GB, free: 15.62 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.328, allocations: 4 kB / 1.15 GB, free: 15.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00341/0.3314, allocations: 2.1 MB / 1.152 GB, free: 13.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.3315, allocations: 12.22 kB / 1.152 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.3315, allocations: 23.94 kB / 1.152 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007766/0.3323, allocations: 254.7 kB / 1.153 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.3335, allocations: 375.4 kB / 1.153 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007906/0.3415, allocations: 11.59 MB / 1.164 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.3428, allocations: 123.8 kB / 1.164 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.343, allocations: 71.94 kB / 1.164 GB, free: 15.91 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.0007131/0.3437, allocations: 405.1 kB / 1.165 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.344, allocations: 134.6 kB / 1.165 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.3469, allocations: 1.673 MB / 1.167 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.347, allocations: 12 kB / 1.167 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.347, allocations: 4 kB / 1.167 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.347, allocations: 11.97 kB / 1.167 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005035/0.3521, allocations: 3.28 MB / 1.17 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.3521, allocations: 8 kB / 1.17 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008299/0.3529, allocations: 219.6 kB / 1.17 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007154/0.3537, allocations: 247.3 kB / 1.17 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.826e-05/0.3538, allocations: 27.94 kB / 1.17 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008748/0.3625, allocations: 11.57 MB / 1.182 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.3626, allocations: 11.88 kB / 1.182 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.3652, allocations: 1.8 MB / 1.183 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000696/0.366, allocations: 311.4 kB / 1.184 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.3662, allocations: 27.91 kB / 1.184 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008002/0.367, allocations: 91.86 kB / 1.184 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.3672, allocations: 104.7 kB / 1.184 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/0.3673, allocations: 28 kB / 1.184 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000807/0.3681, allocations: 0.6216 MB / 1.185 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3681, allocations: 0 / 1.185 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001393/0.3695, allocations: 388 kB / 1.185 GB, free: 9.504 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.002921/0.3724, allocations: 2.393 MB / 1.187 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00356/0.376, allocations: 2.497 MB / 1.19 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.3761, allocations: 4.125 kB / 1.19 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/0.3782, allocations: 1.629 MB / 1.191 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.3801, allocations: 365.9 kB / 1.192 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.3961, allocations: 11.46 MB / 1.203 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.3973, allocations: 1.327 MB / 1.204 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009944/0.3983, allocations: 355.3 kB / 1.204 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006839/0.399, allocations: 0.5344 MB / 1.205 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.399, allocations: 0 / 1.205 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06718/0.4662, allocations: 28.75 MB / 1.233 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.54, allocations: 11 kB / 1.233 GB, free: 7.434 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