Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.0009367/0.0009367, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.005685/0.005685, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6643, allocations: 142.4 MB / 0.9552 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03588/0.7002, allocations: 36.03 MB / 0.9904 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02185/0.7221, allocations: 13.64 MB / 1.004 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.7257, allocations: 91.69 kB / 1.004 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.7277, allocations: 0.5972 MB / 1.004 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.7317, allocations: 1.354 MB / 1.006 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005017/0.7367, allocations: 1.934 MB / 1.008 GB, free: 9.535 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009992/0.7467, allocations: 9.581 MB / 1.017 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01857/0.7653, allocations: 11.92 MB / 1.029 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003828/0.7692, allocations: 1.829 MB / 1.03 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004985/0.7742, allocations: 2.714 MB / 1.033 GB, free: 15.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001277/0.7755, allocations: 252 kB / 1.033 GB, free: 15.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.7786, allocations: 1.08 MB / 1.034 GB, free: 14.01 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003127/0.7818, allocations: 2.003 MB / 1.036 GB, free: 12 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004037/0.7858, allocations: 2.023 MB / 1.038 GB, free: 9.965 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.008951/0.7948, allocations: 8.693 MB / 1.047 GB, free: 1.246 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7948, allocations: 0 / 1.047 GB, free: 1.246 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7948, allocations: 0 / 1.047 GB, free: 1.246 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002248/0.7951, allocations: 4 kB / 1.047 GB, free: 1.242 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.007637/0.8027, allocations: 3.401 MB / 1.05 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.8028, allocations: 12.03 kB / 1.05 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001534/0.8043, allocations: 0.6365 MB / 1.051 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004752/0.8091, allocations: 1.034 MB / 1.052 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.8129, allocations: 2.191 MB / 1.054 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.8131, allocations: 325 kB / 1.054 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007398/0.8139, allocations: 428.3 kB / 1.055 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.8264, allocations: 7.404 MB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.083e-05/0.8265, allocations: 15.86 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004495/0.827, allocations: 180 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003055/0.8273, allocations: 290.9 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009687/0.837, allocations: 6.03 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03452/0.8715, allocations: 32.73 MB / 1.1 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.875, allocations: 2.138 MB / 1.102 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.8766, allocations: 1.255 MB / 1.103 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.8768, allocations: 102.1 kB / 1.103 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.8768, allocations: 55.5 kB / 1.104 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=98): time 3.005e-06/0.8768, allocations: 0 / 1.104 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=101): time 0.007072/0.8839, allocations: 5.282 MB / 1.109 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.884, allocations: 137.5 kB / 1.109 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.8858, allocations: 1.476 MB / 1.11 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.8859, allocations: 45.7 kB / 1.11 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.887, allocations: 1.863 MB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.8874, allocations: 378.9 kB / 1.113 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.8876, allocations: 165.8 kB / 1.113 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.8877, allocations: 301.1 kB / 1.113 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.8894, allocations: 1.144 MB / 1.114 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.8918, allocations: 2.207 MB / 1.116 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004068/0.8959, allocations: 3.442 MB / 1.12 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.8959, allocations: 12 kB / 1.12 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004966/0.9009, allocations: 3.371 MB / 1.123 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006484/0.9016, allocations: 1.086 MB / 1.124 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.9016, allocations: 36 kB / 1.124 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.947e-05/0.9017, allocations: 51.94 kB / 1.124 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/0.9038, allocations: 0.6317 MB / 1.125 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.938e-05/0.9039, allocations: 67.73 kB / 1.125 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.9058, allocations: 330.6 kB / 1.125 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.906, allocations: 120 kB / 1.125 GB, free: 12 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.906, allocations: 4 kB / 1.125 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003971/0.91, allocations: 2.808 MB / 1.128 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-05/0.9101, allocations: 32 kB / 1.128 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.9101, allocations: 48 kB / 1.128 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.9118, allocations: 0.558 MB / 1.129 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-05/0.9119, allocations: 75.72 kB / 1.129 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.9134, allocations: 243 kB / 1.129 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.9136, allocations: 116 kB / 1.129 GB, free: 8.133 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002494/0.9161, allocations: 1.706 MB / 1.131 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.9164, allocations: 154.1 kB / 1.131 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/0.9197, allocations: 2.254 MB / 1.133 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.9197, allocations: 12 kB / 1.133 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.9197, allocations: 3.938 kB / 1.133 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.9197, allocations: 3.984 kB / 1.133 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.9334, allocations: 10.99 MB / 1.144 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.9335, allocations: 15.94 kB / 1.144 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.9349, allocations: 391.3 kB / 1.144 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/0.935, allocations: 16 kB / 1.144 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/0.9351, allocations: 35.98 kB / 1.144 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.809e-05/0.9351, allocations: 19.94 kB / 1.144 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.9351, allocations: 15.94 kB / 1.144 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003219/0.9383, allocations: 2.759 MB / 1.147 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000795/0.9391, allocations: 482.6 kB / 1.147 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.9393, allocations: 35.98 kB / 1.147 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.9406, allocations: 175.7 kB / 1.148 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.9408, allocations: 100.2 kB / 1.148 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.9409, allocations: 36 kB / 1.148 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001555/0.9424, allocations: 1.009 MB / 1.149 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.873e-06/0.9424, allocations: 0 / 1.149 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003622/0.9461, allocations: 1.133 MB / 1.15 GB, free: 2.344 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003548/0.9496, allocations: 3.352 MB / 1.153 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006085/0.9557, allocations: 4.048 MB / 1.157 GB, free: 10.79 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.9557, allocations: 0 / 1.157 GB, free: 10.79 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.9571, allocations: 1.064 MB / 1.158 GB, free: 9.723 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00425/0.9614, allocations: 420 kB / 1.158 GB, free: 9.324 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03416/0.9955, allocations: 24.55 MB / 1.182 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/0.9986, allocations: 2.868 MB / 1.185 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0032/1.002, allocations: 1.223 MB / 1.186 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/1.003, allocations: 1.28 MB / 1.188 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of SimCode: time 8.72e-07/1.004, allocations: 0 / 1.188 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07234/1.076, allocations: 45.2 MB / 1.232 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/1.076, allocations: 223.1 kB / 1.232 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.531, allocations: 0 / 1.232 GB, free: 12.48 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches