Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001235/0.001235, allocations: 100.1 kB / 15.88 MB, free: 12 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.001438/0.001438, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.443/1.443, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 61.62 kB / 0.899 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3086, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01706/0.3257, allocations: 15.92 MB / 1.068 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008308/0.3341, allocations: 4.821 MB / 1.073 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.3356, allocations: 59.62 kB / 1.073 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002879/0.3385, allocations: 0.9716 MB / 1.074 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.3408, allocations: 0.6885 MB / 1.075 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.3432, allocations: 0.8379 MB / 1.076 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005171/0.3483, allocations: 5.256 MB / 1.081 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008808/0.3572, allocations: 5.424 MB / 1.086 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.3601, allocations: 1.339 MB / 1.087 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003084/0.3632, allocations: 1.819 MB / 1.089 GB, free: 3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0009906/0.3642, allocations: 240 kB / 1.089 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.3665, allocations: 0.823 MB / 1.09 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001917/0.3685, allocations: 1.228 MB / 1.091 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002628/0.3711, allocations: 1.35 MB / 1.093 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004735/0.3759, allocations: 4.373 MB / 1.097 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3759, allocations: 0 / 1.097 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3759, allocations: 0 / 1.097 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000169/0.3761, allocations: 0 / 1.097 GB, free: 10.97 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.005945/0.382, allocations: 2.651 MB / 1.099 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3821, allocations: 11.97 kB / 1.099 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/0.3859, allocations: 0.8368 MB / 1.1 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.3889, allocations: 1.505 MB / 1.102 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.389, allocations: 177.1 kB / 1.102 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/0.3894, allocations: 232.3 kB / 1.102 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007784/0.3972, allocations: 4.161 MB / 1.106 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.9e-05/0.3974, allocations: 7.938 kB / 1.106 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.3976, allocations: 99.98 kB / 1.106 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/0.3978, allocations: 164.5 kB / 1.106 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006524/0.4044, allocations: 3.636 MB / 1.11 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/0.4236, allocations: 16.54 MB / 1.126 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/0.4268, allocations: 2.293 MB / 1.128 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008618/0.4277, allocations: 0.5795 MB / 1.129 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.4279, allocations: 93.66 kB / 1.129 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.4279, allocations: 39.12 kB / 1.129 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 3.417e-06/0.4279, allocations: 0 / 1.129 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.005866/0.4338, allocations: 3.436 MB / 1.132 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.4339, allocations: 111.5 kB / 1.133 GB, free: 4.344 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.4355, allocations: 1.018 MB / 1.134 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.4355, allocations: 41.64 kB / 1.134 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006734/0.4362, allocations: 1.099 MB / 1.135 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.4365, allocations: 280.2 kB / 1.135 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004016/0.4369, allocations: 283.3 kB / 1.135 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.4371, allocations: 410.7 kB / 1.136 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009552/0.4381, allocations: 0.6129 MB / 1.136 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.4393, allocations: 1.185 MB / 1.137 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.4415, allocations: 1.86 MB / 1.139 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/0.4416, allocations: 8 kB / 1.139 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003179/0.4447, allocations: 2.022 MB / 1.141 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.4448, allocations: 16 kB / 1.141 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.4448, allocations: 16 kB / 1.141 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004539/0.4453, allocations: 167.3 kB / 1.141 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.4465, allocations: 347.7 kB / 1.142 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.347e-05/0.4465, allocations: 43.86 kB / 1.142 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.4476, allocations: 127.7 kB / 1.142 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.4478, allocations: 71.98 kB / 1.142 GB, free: 10.14 MB / 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.001537/0.4493, allocations: 0.9872 MB / 1.143 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.4497, allocations: 110.6 kB / 1.143 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.4518, allocations: 1.218 MB / 1.144 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.4518, allocations: 11.94 kB / 1.144 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.4519, allocations: 4 kB / 1.144 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.4519, allocations: 8.078 kB / 1.144 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/0.4581, allocations: 3.808 MB / 1.148 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.4581, allocations: 4.031 kB / 1.148 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.4587, allocations: 155.8 kB / 1.148 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.4591, allocations: 143.3 kB / 1.148 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.4592, allocations: 16 kB / 1.148 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.578e-05/0.4592, allocations: 19.86 kB / 1.148 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4592, allocations: 4 kB / 1.148 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.4613, allocations: 1.464 MB / 1.15 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005549/0.4618, allocations: 275.7 kB / 1.15 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.4621, allocations: 15.98 kB / 1.15 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.4628, allocations: 75.91 kB / 1.15 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.4629, allocations: 52.42 kB / 1.15 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.463, allocations: 28 kB / 1.15 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00101/0.464, allocations: 0.6953 MB / 1.151 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/0.464, allocations: 0 / 1.151 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001483/0.4655, allocations: 388 kB / 1.151 GB, free: 416 kB / 0.9044 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.0002185/0.4657, allocations: 131 kB / 1.151 GB, free: 276 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002455/0.4682, allocations: 1.714 MB / 1.153 GB, free: 14.46 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4682, allocations: 0 / 1.153 GB, free: 14.46 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009775/0.4692, allocations: 0.8674 MB / 1.154 GB, free: 13.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.4709, allocations: 245.9 kB / 1.154 GB, free: 13.27 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008251/0.4791, allocations: 5.168 MB / 1.159 GB, free: 8.035 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/0.4813, allocations: 1.966 MB / 1.161 GB, free: 6.035 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.4817, allocations: 99.42 kB / 1.161 GB, free: 5.938 MB / 0.92 GB Notification: Performance of SimCode: time 9.42e-07/0.4817, allocations: 4 kB / 1.161 GB, free: 5.934 MB / 0.92 GB Notification: Performance of Templates: time 0.0776/0.5593, allocations: 73.28 MB / 1.233 GB, free: 12.64 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches