Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_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.0007628/0.0007626, allocations: 90.98 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.004396/0.004396, allocations: 171.4 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.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437.8 MB / 0.7121 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 16.28 kB / 0.873 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5922/0.5925, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0148/0.6074, allocations: 15.37 MB / 1.038 GB, free: 464 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006541/0.6139, allocations: 4.778 MB / 1.043 GB, free: 11.66 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006461/0.6146, allocations: 59.69 kB / 1.043 GB, free: 11.6 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.6151, allocations: 254 kB / 1.043 GB, free: 11.35 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.6163, allocations: 0.6924 MB / 1.044 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.6175, allocations: 0.6663 MB / 1.044 GB, free: 9.992 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003809/0.6213, allocations: 5.264 MB / 1.05 GB, free: 4.715 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00674/0.6281, allocations: 5.839 MB / 1.055 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.6293, allocations: 1.093 MB / 1.056 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.6308, allocations: 1.507 MB / 1.058 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.631, allocations: 144 kB / 1.058 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.632, allocations: 0.737 MB / 1.059 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008005/0.6328, allocations: 1.076 MB / 1.06 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008939/0.6337, allocations: 1.18 MB / 1.061 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003255/0.637, allocations: 4.889 MB / 1.066 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.637, allocations: 0 / 1.066 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.342e-06/0.637, allocations: 0 / 1.066 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.159e-05/0.6371, allocations: 0 / 1.066 GB, free: 4.129 MB / 0.8106 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.003174/0.6402, allocations: 2.179 MB / 1.068 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6403, allocations: 8.031 kB / 1.068 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004142/0.6407, allocations: 378.5 kB / 1.068 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.6442, allocations: 0.8329 MB / 1.069 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.6461, allocations: 1.501 MB / 1.07 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.6462, allocations: 181.1 kB / 1.071 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/0.6466, allocations: 236.3 kB / 1.071 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005629/0.6522, allocations: 4.161 MB / 1.075 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.6523, allocations: 4 kB / 1.075 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.6525, allocations: 104 kB / 1.075 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/0.6527, allocations: 176.5 kB / 1.075 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004709/0.6574, allocations: 3.64 MB / 1.079 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.6715, allocations: 16.54 MB / 1.095 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.6745, allocations: 2.297 MB / 1.097 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007425/0.6752, allocations: 0.5858 MB / 1.098 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.6754, allocations: 97.64 kB / 1.098 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.6754, allocations: 39.12 kB / 1.098 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 4.008e-06/0.6754, allocations: 0 / 1.098 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.004605/0.68, allocations: 3.456 MB / 1.101 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.6801, allocations: 119.5 kB / 1.101 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.6812, allocations: 1.022 MB / 1.102 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.6812, allocations: 37.7 kB / 1.102 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.6818, allocations: 1.103 MB / 1.103 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.682, allocations: 272.2 kB / 1.104 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.6821, allocations: 109.7 kB / 1.104 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6823, allocations: 418.7 kB / 1.104 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008298/0.6831, allocations: 0.6246 MB / 1.105 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.6843, allocations: 1.189 MB / 1.106 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.6862, allocations: 1.872 MB / 1.108 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6862, allocations: 4 kB / 1.108 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002667/0.6889, allocations: 2.026 MB / 1.11 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.689, allocations: 15.94 kB / 1.11 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.689, allocations: 20.62 kB / 1.11 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/0.6894, allocations: 175.3 kB / 1.11 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.6904, allocations: 347.4 kB / 1.11 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.933e-05/0.6904, allocations: 35.86 kB / 1.11 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008195/0.6912, allocations: 147.6 kB / 1.11 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/0.6913, allocations: 64 kB / 1.111 GB, free: 3.461 MB / 0.8575 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.001143/0.6925, allocations: 0.9771 MB / 1.111 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.6927, allocations: 106.7 kB / 1.112 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.6945, allocations: 1.245 MB / 1.113 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.6945, allocations: 11.98 kB / 1.113 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.6946, allocations: 0 / 1.113 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.6946, allocations: 11.98 kB / 1.113 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004714/0.6993, allocations: 3.811 MB / 1.117 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6993, allocations: 0 / 1.117 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.6999, allocations: 159.8 kB / 1.117 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/0.7002, allocations: 151.5 kB / 1.117 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/0.7003, allocations: 12 kB / 1.117 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.7003, allocations: 15.92 kB / 1.117 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7003, allocations: 0 / 1.117 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.7019, allocations: 1.476 MB / 1.118 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/0.7023, allocations: 291.7 kB / 1.119 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.7024, allocations: 15.98 kB / 1.119 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/0.703, allocations: 79.91 kB / 1.119 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.7031, allocations: 56.36 kB / 1.119 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.7031, allocations: 24 kB / 1.119 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007407/0.7039, allocations: 0.6992 MB / 1.119 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7039, allocations: 0 / 1.119 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001088/0.705, allocations: 388 kB / 1.12 GB, free: 9.676 MB / 0.8731 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.001961/0.707, allocations: 2.044 MB / 1.122 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.7089, allocations: 1.721 MB / 1.123 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7089, allocations: 2 kB / 1.123 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008289/0.7097, allocations: 0.8703 MB / 1.124 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.7113, allocations: 258.2 kB / 1.125 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.728, allocations: 14.34 MB / 1.139 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.7296, allocations: 1.92 MB / 1.14 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009942/0.7306, allocations: 449.4 kB / 1.141 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000774/0.7314, allocations: 0.7141 MB / 1.142 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/0.7314, allocations: 0 / 1.142 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.283/2.014, allocations: 26.45 MB / 1.167 GB, free: 8.152 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000322/2.015, allocations: 245.1 kB / 1.168 GB, free: 7.898 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/4.057, allocations: 0 / 1.168 GB, free: 7.898 MB / 0.92 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches