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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.001447/0.001447, 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.001219/0.001219, allocations: 197.9 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.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437 MB / 0.7103 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.89 kB / 0.8692 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8574/0.8588, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02004/0.8789, allocations: 16.01 MB / 1.033 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008471/0.8874, allocations: 4.812 MB / 1.038 GB, free: 13.59 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.8889, allocations: 71.62 kB / 1.038 GB, free: 13.52 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002838/0.8918, allocations: 1.05 MB / 1.039 GB, free: 12.46 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.8941, allocations: 0.7386 MB / 1.039 GB, free: 11.72 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.8965, allocations: 0.9261 MB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003976/0.9005, allocations: 3.614 MB / 1.044 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005359/0.9059, allocations: 4.802 MB / 1.049 GB, free: 2.297 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.9083, allocations: 1.566 MB / 1.05 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002529/0.9108, allocations: 1.784 MB / 1.052 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006536/0.9115, allocations: 340 kB / 1.052 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.9133, allocations: 0.7997 MB / 1.053 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.9147, allocations: 1.333 MB / 1.054 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.9164, allocations: 1.459 MB / 1.056 GB, free: 11 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004698/0.9211, allocations: 5.091 MB / 1.061 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.9212, allocations: 0 / 1.061 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.694e-06/0.9212, allocations: 0 / 1.061 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001091/0.9213, allocations: 0 / 1.061 GB, free: 5.898 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.005587/0.9269, allocations: 2.647 MB / 1.063 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.9269, allocations: 11.98 kB / 1.063 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/0.9308, allocations: 0.8368 MB / 1.064 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.9337, allocations: 1.497 MB / 1.066 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.9339, allocations: 177.1 kB / 1.066 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004599/0.9344, allocations: 232.3 kB / 1.066 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007384/0.9418, allocations: 4.166 MB / 1.07 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.504e-05/0.9419, allocations: 7.938 kB / 1.07 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002645/0.9421, allocations: 99.98 kB / 1.07 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.9423, allocations: 164.5 kB / 1.07 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006252/0.9486, allocations: 3.64 MB / 1.074 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02516/0.9738, allocations: 16.55 MB / 1.09 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003277/0.9771, allocations: 2.289 MB / 1.092 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.9782, allocations: 0.578 MB / 1.093 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.9784, allocations: 97.59 kB / 1.093 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.9785, allocations: 39.12 kB / 1.093 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 4.138e-06/0.9785, allocations: 4 kB / 1.093 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.008507/0.987, allocations: 3.432 MB / 1.096 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.9872, allocations: 115.5 kB / 1.096 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.9893, allocations: 1.006 MB / 1.097 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.677e-05/0.9894, allocations: 41.64 kB / 1.097 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.9906, allocations: 1.103 MB / 1.098 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004769/0.9911, allocations: 284.2 kB / 1.099 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007014/0.9918, allocations: 275.2 kB / 1.099 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0003121/0.9922, allocations: 414.7 kB / 1.099 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.9936, allocations: 0.6206 MB / 1.1 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.9957, allocations: 1.189 MB / 1.101 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/0.9988, allocations: 1.86 MB / 1.103 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.695e-05/0.9988, allocations: 8 kB / 1.103 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004703/1.004, allocations: 2.014 MB / 1.105 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/1.004, allocations: 13.25 kB / 1.105 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/1.004, allocations: 20 kB / 1.105 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/1.004, allocations: 163.8 kB / 1.105 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/1.006, allocations: 343.4 kB / 1.105 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.405e-05/1.006, allocations: 43.8 kB / 1.105 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/1.008, allocations: 127.7 kB / 1.106 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/1.008, allocations: 67.98 kB / 1.106 GB, free: 5.074 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.00223/1.01, allocations: 0.981 MB / 1.107 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004194/1.01, allocations: 110.6 kB / 1.107 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003092/1.014, allocations: 1.23 MB / 1.108 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/1.014, allocations: 11.94 kB / 1.108 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/1.014, allocations: 8 kB / 1.108 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/1.014, allocations: 3.984 kB / 1.108 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007734/1.021, allocations: 3.804 MB / 1.112 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/1.021, allocations: 4 kB / 1.112 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/1.022, allocations: 155.8 kB / 1.112 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/1.022, allocations: 139.3 kB / 1.112 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/1.023, allocations: 16 kB / 1.112 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/1.023, allocations: 19.89 kB / 1.112 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.023, allocations: 4 kB / 1.112 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/1.025, allocations: 1.465 MB / 1.113 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/1.025, allocations: 271.8 kB / 1.114 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/1.025, allocations: 27.89 kB / 1.114 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005688/1.026, allocations: 67.91 kB / 1.114 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.026, allocations: 52.42 kB / 1.114 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/1.026, allocations: 24 kB / 1.114 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009032/1.027, allocations: 0.6953 MB / 1.115 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.027, allocations: 0 / 1.115 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001448/1.028, allocations: 392 kB / 1.115 GB, free: 11.34 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.0002166/1.029, allocations: 123.1 kB / 1.115 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002972/1.032, allocations: 2.015 MB / 1.117 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.032, allocations: 0 / 1.117 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009817/1.033, allocations: 0.8673 MB / 1.118 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/1.034, allocations: 265.7 kB / 1.118 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006548/1.04, allocations: 3.823 MB / 1.122 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/1.042, allocations: 1.912 MB / 1.124 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001225/1.043, allocations: 449.6 kB / 1.124 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/1.044, allocations: 83.42 kB / 1.124 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of SimCode: time 2.074e-06/1.044, allocations: 4 kB / 1.124 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of Templates: time 0.02609/1.07, allocations: 13.28 MB / 1.137 GB, free: 4.398 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (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 & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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