Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 110.4 kB / 16.41 MB, free: 6.492 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.001096/0.001096, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.196/2.196, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8903/0.8921, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01878/0.9109, allocations: 16.01 MB / 1.104 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009459/0.9204, allocations: 4.821 MB / 1.109 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.9223, allocations: 69.25 kB / 1.109 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.9256, allocations: 1.053 MB / 1.11 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.9282, allocations: 0.7723 MB / 1.111 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.931, allocations: 0.9173 MB / 1.112 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005161/0.9362, allocations: 3.625 MB / 1.115 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006461/0.9427, allocations: 4.759 MB / 1.12 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.9461, allocations: 1.599 MB / 1.121 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.9497, allocations: 1.787 MB / 1.123 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0007976/0.9505, allocations: 339.3 kB / 1.124 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.9526, allocations: 0.7942 MB / 1.124 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.9544, allocations: 1.324 MB / 1.126 GB, free: 8 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002102/0.9565, allocations: 1.458 MB / 1.127 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007149/0.9636, allocations: 5.128 MB / 1.132 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.9637, allocations: 0 / 1.132 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9637, allocations: 5.25 kB / 1.132 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000196/0.9639, allocations: 0 / 1.132 GB, free: 13.46 MB / 0.8887 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.008689/0.9726, allocations: 2.656 MB / 1.135 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.9727, allocations: 9.219 kB / 1.135 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/0.9773, allocations: 0.8285 MB / 1.135 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.9808, allocations: 1.572 MB / 1.137 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.981, allocations: 176.9 kB / 1.137 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006278/0.9816, allocations: 233.8 kB / 1.137 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009104/0.9907, allocations: 4.163 MB / 1.141 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.967e-05/0.9908, allocations: 2.5 kB / 1.141 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/0.9912, allocations: 102.9 kB / 1.142 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.9914, allocations: 166.5 kB / 1.142 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007004/0.9984, allocations: 3.639 MB / 1.145 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/1.019, allocations: 16.42 MB / 1.161 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/1.022, allocations: 2.292 MB / 1.164 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/1.023, allocations: 0.5771 MB / 1.164 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/1.023, allocations: 105.1 kB / 1.164 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/1.023, allocations: 38.97 kB / 1.164 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 2.725e-06/1.024, allocations: 0 / 1.164 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.006497/1.03, allocations: 3.43 MB / 1.168 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/1.03, allocations: 111.7 kB / 1.168 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/1.032, allocations: 1.02 MB / 1.169 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/1.032, allocations: 39.89 kB / 1.169 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008309/1.033, allocations: 1.101 MB / 1.17 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/1.033, allocations: 270.4 kB / 1.17 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/1.033, allocations: 278.5 kB / 1.17 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002113/1.034, allocations: 414.7 kB / 1.171 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009429/1.034, allocations: 0.6132 MB / 1.171 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/1.036, allocations: 1.193 MB / 1.172 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/1.038, allocations: 1.864 MB / 1.174 GB, free: 15.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/1.038, allocations: 5.375 kB / 1.174 GB, free: 15.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003415/1.042, allocations: 2.011 MB / 1.176 GB, free: 14.45 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/1.042, allocations: 14.22 kB / 1.176 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/1.042, allocations: 22.66 kB / 1.176 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004485/1.042, allocations: 167.3 kB / 1.176 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.044, allocations: 351.5 kB / 1.177 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-05/1.044, allocations: 39.86 kB / 1.177 GB, free: 14.24 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.045, allocations: 129 kB / 1.177 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/1.045, allocations: 72.2 kB / 1.177 GB, free: 14.16 MB / 0.92 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.001767/1.047, allocations: 0.9783 MB / 1.178 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/1.047, allocations: 107.2 kB / 1.178 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/1.049, allocations: 1.238 MB / 1.179 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/1.049, allocations: 12.28 kB / 1.179 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.049, allocations: 6.469 kB / 1.179 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.049, allocations: 5.203 kB / 1.179 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006162/1.055, allocations: 3.796 MB / 1.183 GB, free: 10.31 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/1.055, allocations: 2.719 kB / 1.183 GB, free: 10.31 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/1.056, allocations: 157.6 kB / 1.183 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000347/1.057, allocations: 149.2 kB / 1.183 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.818e-05/1.057, allocations: 14.5 kB / 1.183 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/1.057, allocations: 9.406 kB / 1.183 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.057, allocations: 2.5 kB / 1.183 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/1.059, allocations: 1.467 MB / 1.185 GB, free: 8.758 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005971/1.059, allocations: 271.7 kB / 1.185 GB, free: 8.473 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.059, allocations: 16 kB / 1.185 GB, free: 8.457 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/1.06, allocations: 63.91 kB / 1.185 GB, free: 8.395 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.06, allocations: 68.36 kB / 1.185 GB, free: 8.328 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/1.06, allocations: 20 kB / 1.185 GB, free: 8.309 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009613/1.061, allocations: 0.6953 MB / 1.186 GB, free: 7.602 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.061, allocations: 0 / 1.186 GB, free: 7.602 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001735/1.063, allocations: 392.1 kB / 1.186 GB, free: 7.219 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.0002218/1.063, allocations: 127.1 kB / 1.186 GB, free: 7.086 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00251/1.066, allocations: 1.715 MB / 1.188 GB, free: 5.293 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.066, allocations: 4 kB / 1.188 GB, free: 5.289 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009655/1.067, allocations: 0.862 MB / 1.189 GB, free: 4.34 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/1.068, allocations: 269 kB / 1.189 GB, free: 4.082 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007552/1.076, allocations: 4.137 MB / 1.193 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/1.078, allocations: 1.959 MB / 1.195 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/1.078, allocations: 99.42 kB / 1.195 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of SimCode: time 1.923e-06/1.078, allocations: 0 / 1.195 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of Templates: time 0.07385/1.152, allocations: 73.44 MB / 1.267 GB, free: 4.312 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches