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: 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.001563/0.001563, allocations: 115.5 kB / 16.37 MB, free: 5.984 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.001612/0.001612, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.398/1.398, 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 10.1.0-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 68.08 kB / 0.8707 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3192, allocations: 151.6 MB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0185/0.3378, allocations: 16.01 MB / 1.034 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007923/0.3457, allocations: 4.828 MB / 1.039 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.3471, allocations: 67.69 kB / 1.039 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.3499, allocations: 1.038 MB / 1.04 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.3519, allocations: 0.7502 MB / 1.041 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.3542, allocations: 0.9155 MB / 1.042 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003944/0.3582, allocations: 3.61 MB / 1.045 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005344/0.3635, allocations: 4.781 MB / 1.05 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.3662, allocations: 1.578 MB / 1.052 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002793/0.369, allocations: 1.78 MB / 1.053 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000598/0.3696, allocations: 340 kB / 1.054 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.3713, allocations: 0.7958 MB / 1.054 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.3727, allocations: 1.329 MB / 1.056 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002022/0.3748, allocations: 1.451 MB / 1.057 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005242/0.38, allocations: 5.13 MB / 1.062 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.38, allocations: 4 kB / 1.062 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3801, allocations: 0 / 1.062 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.633e-05/0.3801, allocations: 0 / 1.062 GB, free: 13.19 MB / 0.8419 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.005609/0.3858, allocations: 2.654 MB / 1.065 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3858, allocations: 16.88 kB / 1.065 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/0.3898, allocations: 0.8329 MB / 1.066 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004023/0.3939, allocations: 1.568 MB / 1.067 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.394, allocations: 181.1 kB / 1.067 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004368/0.3945, allocations: 232.3 kB / 1.067 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006488/0.401, allocations: 4.162 MB / 1.072 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-05/0.401, allocations: 7.938 kB / 1.072 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.4013, allocations: 104 kB / 1.072 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.4015, allocations: 164.5 kB / 1.072 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5482/0.9497, allocations: 3.626 MB / 1.075 GB, free: 58.33 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02288/0.9726, allocations: 16.42 MB / 1.091 GB, free: 46.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00345/0.9761, allocations: 2.286 MB / 1.094 GB, free: 45.01 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.9772, allocations: 0.5819 MB / 1.094 GB, free: 44.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.9774, allocations: 97.28 kB / 1.094 GB, free: 44.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.9774, allocations: 48.11 kB / 1.094 GB, free: 44.65 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 3.426e-06/0.9774, allocations: 0 / 1.094 GB, free: 44.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.006341/0.9838, allocations: 3.423 MB / 1.098 GB, free: 42.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.9839, allocations: 111.8 kB / 1.098 GB, free: 42.61 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.9854, allocations: 1.013 MB / 1.099 GB, free: 42.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.9855, allocations: 42.42 kB / 1.099 GB, free: 42.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006544/0.9862, allocations: 1.103 MB / 1.1 GB, free: 41.31 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.9864, allocations: 274.9 kB / 1.1 GB, free: 41.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004001/0.9868, allocations: 280.6 kB / 1.1 GB, free: 40.97 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.9869, allocations: 414.1 kB / 1.101 GB, free: 40.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.9879, allocations: 0.6125 MB / 1.101 GB, free: 40.42 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.9893, allocations: 1.189 MB / 1.103 GB, free: 39.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/0.9915, allocations: 1.864 MB / 1.104 GB, free: 38.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.9916, allocations: 5.625 kB / 1.104 GB, free: 38.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003329/0.9949, allocations: 2.016 MB / 1.106 GB, free: 37.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.995, allocations: 16.95 kB / 1.106 GB, free: 37.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/0.995, allocations: 18.88 kB / 1.106 GB, free: 37.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/0.9954, allocations: 170.4 kB / 1.107 GB, free: 37.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.9966, allocations: 346.8 kB / 1.107 GB, free: 37.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.62e-05/0.9966, allocations: 39.22 kB / 1.107 GB, free: 37.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.9977, allocations: 122.8 kB / 1.107 GB, free: 37.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.9978, allocations: 74.78 kB / 1.107 GB, free: 37.27 MB / 0.8419 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.001432/0.9993, allocations: 0.972 MB / 1.108 GB, free: 36.82 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.9995, allocations: 108.2 kB / 1.108 GB, free: 36.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/1.002, allocations: 1.236 MB / 1.109 GB, free: 36.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.002, allocations: 12 kB / 1.109 GB, free: 36.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/1.002, allocations: 2.406 kB / 1.109 GB, free: 36.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.002, allocations: 12.81 kB / 1.109 GB, free: 36.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00599/1.008, allocations: 3.791 MB / 1.113 GB, free: 34.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.008, allocations: 4.109 kB / 1.113 GB, free: 34.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/1.008, allocations: 155.9 kB / 1.113 GB, free: 34.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/1.009, allocations: 142 kB / 1.113 GB, free: 34.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/1.009, allocations: 18.88 kB / 1.113 GB, free: 34.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/1.009, allocations: 5.062 kB / 1.113 GB, free: 34.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.009, allocations: 11.34 kB / 1.113 GB, free: 34.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/1.011, allocations: 1.469 MB / 1.115 GB, free: 33.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005229/1.011, allocations: 271.6 kB / 1.115 GB, free: 33.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/1.011, allocations: 18.55 kB / 1.115 GB, free: 33.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/1.012, allocations: 62.58 kB / 1.115 GB, free: 33.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.012, allocations: 63.06 kB / 1.115 GB, free: 33.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/1.012, allocations: 21.23 kB / 1.115 GB, free: 33.39 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009586/1.013, allocations: 0.699 MB / 1.116 GB, free: 33.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/1.013, allocations: 1.406 kB / 1.116 GB, free: 33.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001555/1.015, allocations: 391.4 kB / 1.116 GB, free: 33.07 MB / 0.8419 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.0001964/1.015, allocations: 129.4 kB / 1.116 GB, free: 32.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002228/1.017, allocations: 1.718 MB / 1.118 GB, free: 32.1 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.017, allocations: 0 / 1.118 GB, free: 32.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008296/1.018, allocations: 0.8667 MB / 1.119 GB, free: 31.51 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.019, allocations: 264.1 kB / 1.119 GB, free: 31.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006387/1.026, allocations: 3.777 MB / 1.123 GB, free: 29.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/1.028, allocations: 1.918 MB / 1.125 GB, free: 28.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001215/1.029, allocations: 450.1 kB / 1.125 GB, free: 28.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/1.029, allocations: 86.97 kB / 1.125 GB, free: 28.68 MB / 0.8419 GB Notification: Performance of SimCode: time 7.81e-07/1.029, allocations: 0 / 1.125 GB, free: 28.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.02578/1.055, allocations: 13.27 MB / 1.138 GB, free: 22.79 MB / 0.8419 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 -s gbode -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/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