Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.001359/0.001359, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.559/2.559, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 63 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2428, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01885/0.2617, allocations: 16.01 MB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007202/0.2689, allocations: 4.824 MB / 1.084 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005037/0.2694, allocations: 63.69 kB / 1.084 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.2718, allocations: 1.047 MB / 1.086 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.2731, allocations: 0.7386 MB / 1.086 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.275, allocations: 0.9147 MB / 1.087 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003408/0.2784, allocations: 3.614 MB / 1.091 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005117/0.2835, allocations: 4.805 MB / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.2854, allocations: 1.578 MB / 1.097 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.2874, allocations: 1.768 MB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004377/0.2878, allocations: 340 kB / 1.099 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.2891, allocations: 0.7997 MB / 1.1 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.2904, allocations: 1.329 MB / 1.101 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.2918, allocations: 1.455 MB / 1.102 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.2963, allocations: 5.091 MB / 1.107 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2963, allocations: 0 / 1.107 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2963, allocations: 0 / 1.107 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.318e-05/0.2964, allocations: 0 / 1.107 GB, free: 1.633 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004281/0.3007, allocations: 2.654 MB / 1.11 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3007, allocations: 8.031 kB / 1.11 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004592/0.3012, allocations: 378.5 kB / 1.11 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/0.3048, allocations: 0.8251 MB / 1.111 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.3071, allocations: 1.501 MB / 1.113 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.3073, allocations: 181.1 kB / 1.113 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003596/0.3077, allocations: 236.3 kB / 1.113 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006002/0.3137, allocations: 4.161 MB / 1.117 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.3137, allocations: 4 kB / 1.117 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.314, allocations: 95.98 kB / 1.117 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001959/0.3142, allocations: 172.5 kB / 1.117 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005472/0.3196, allocations: 3.624 MB / 1.121 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01752/0.3372, allocations: 16.56 MB / 1.137 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.3406, allocations: 2.297 MB / 1.139 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008505/0.3415, allocations: 0.576 MB / 1.14 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.3416, allocations: 105.6 kB / 1.14 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3416, allocations: 39.12 kB / 1.14 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/0.3417, allocations: 0 / 1.14 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.005288/0.3469, allocations: 3.428 MB / 1.143 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.347, allocations: 119.5 kB / 1.143 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.3483, allocations: 1.022 MB / 1.144 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.3483, allocations: 33.7 kB / 1.145 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007654/0.3491, allocations: 1.107 MB / 1.146 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.3493, allocations: 264.2 kB / 1.146 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/0.3497, allocations: 279.2 kB / 1.146 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.35, allocations: 418.7 kB / 1.147 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009309/0.3509, allocations: 0.6167 MB / 1.147 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.3523, allocations: 1.189 MB / 1.148 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/0.3547, allocations: 1.864 MB / 1.15 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.3547, allocations: 4 kB / 1.15 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003096/0.3578, allocations: 2.019 MB / 1.152 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3579, allocations: 13.53 kB / 1.152 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.3579, allocations: 24 kB / 1.152 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004071/0.3583, allocations: 163.3 kB / 1.152 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.3594, allocations: 347.4 kB / 1.153 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-05/0.3594, allocations: 39.86 kB / 1.153 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008205/0.3603, allocations: 131.6 kB / 1.153 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.3604, allocations: 67.98 kB / 1.153 GB, free: 444 kB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001257/0.3616, allocations: 0.9811 MB / 1.154 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.3618, allocations: 110.7 kB / 1.154 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.3639, allocations: 1.23 MB / 1.155 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3639, allocations: 8 kB / 1.155 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3639, allocations: 0 / 1.155 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.364, allocations: 7.984 kB / 1.155 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005309/0.3693, allocations: 3.803 MB / 1.159 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3693, allocations: 4 kB / 1.159 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/0.3699, allocations: 155.8 kB / 1.159 GB, free: 9.949 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003485/0.3702, allocations: 151.5 kB / 1.159 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3703, allocations: 12 kB / 1.159 GB, free: 9.777 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.3703, allocations: 7.938 kB / 1.159 GB, free: 9.77 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3703, allocations: 4 kB / 1.159 GB, free: 9.766 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.3722, allocations: 1.472 MB / 1.161 GB, free: 8.242 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.3726, allocations: 267.8 kB / 1.161 GB, free: 7.961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.3728, allocations: 23.98 kB / 1.161 GB, free: 7.938 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.3733, allocations: 59.91 kB / 1.161 GB, free: 7.879 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.3735, allocations: 68.36 kB / 1.161 GB, free: 7.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.3735, allocations: 20 kB / 1.161 GB, free: 7.793 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009401/0.3745, allocations: 0.6953 MB / 1.162 GB, free: 7.086 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3745, allocations: 0 / 1.162 GB, free: 7.086 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001366/0.3758, allocations: 392.1 kB / 1.162 GB, free: 6.703 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002389/0.3782, allocations: 2.04 MB / 1.164 GB, free: 4.594 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002923/0.3812, allocations: 2.011 MB / 1.166 GB, free: 2.504 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3812, allocations: 0 / 1.166 GB, free: 2.504 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009978/0.3822, allocations: 0.8631 MB / 1.167 GB, free: 1.555 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.3836, allocations: 263 kB / 1.167 GB, free: 1.297 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.4014, allocations: 13.34 MB / 1.18 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/0.4033, allocations: 1.916 MB / 1.182 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001103/0.4044, allocations: 461.4 kB / 1.182 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008867/0.4053, allocations: 0.7119 MB / 1.183 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of SimCode: time 4e-07/0.4053, allocations: 0 / 1.183 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6238/1.029, allocations: 27.29 MB / 1.21 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.8/16.83, allocations: 11.23 kB / 1.21 GB, free: 5 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches