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.0016/0.0016, allocations: 102.8 kB / 15.98 MB, free: 6.348 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.001835/0.001836, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.362/1.362, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.356/2.356, allocations: 390.3 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 62.3 kB / 0.8127 GB, free: 33.28 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2766, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01958/0.2962, allocations: 15.92 MB / 0.9653 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00837/0.3046, allocations: 4.782 MB / 0.97 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.3061, allocations: 55.69 kB / 0.97 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.3091, allocations: 0.965 MB / 0.971 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.3113, allocations: 0.6808 MB / 0.9717 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.314, allocations: 0.8495 MB / 0.9725 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004353/0.3183, allocations: 3.622 MB / 0.976 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008643/0.327, allocations: 5.846 MB / 0.9817 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.3295, allocations: 1.601 MB / 0.9833 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.3322, allocations: 1.858 MB / 0.9851 GB, free: 4.895 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008566/0.3331, allocations: 340 kB / 0.9854 GB, free: 4.562 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.3357, allocations: 0.7997 MB / 0.9862 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002714/0.3384, allocations: 1.333 MB / 0.9875 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003966/0.3424, allocations: 1.451 MB / 0.9889 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005535/0.348, allocations: 4.408 MB / 0.9932 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3481, allocations: 0 / 0.9932 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.799e-06/0.3481, allocations: 0 / 0.9932 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001683/0.3482, allocations: 3.938 kB / 0.9932 GB, free: 12.55 MB / 0.7794 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.006781/0.355, allocations: 2.643 MB / 0.9958 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.3551, allocations: 12.03 kB / 0.9958 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004589/0.3597, allocations: 0.8251 MB / 0.9966 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.3628, allocations: 1.505 MB / 0.9981 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.363, allocations: 177.1 kB / 0.9983 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008395/0.3639, allocations: 244.3 kB / 0.9985 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009195/0.3731, allocations: 4.154 MB / 1.003 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.014e-05/0.3732, allocations: 4 kB / 1.003 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006021/0.3738, allocations: 111.9 kB / 1.003 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002227/0.3741, allocations: 172.5 kB / 1.003 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007098/0.3812, allocations: 3.628 MB / 1.006 GB, free: 14.81 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02134/0.4025, allocations: 16.53 MB / 1.023 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/0.4061, allocations: 2.292 MB / 1.025 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009139/0.4071, allocations: 0.5818 MB / 1.025 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.4073, allocations: 97.66 kB / 1.025 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.4073, allocations: 39.12 kB / 1.025 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 4.348e-06/0.4073, allocations: 0 / 1.025 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.006154/0.4135, allocations: 3.428 MB / 1.029 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.4136, allocations: 115.5 kB / 1.029 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.4151, allocations: 1.014 MB / 1.03 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.4152, allocations: 37.7 kB / 1.03 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007124/0.416, allocations: 1.107 MB / 1.031 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.4162, allocations: 276.2 kB / 1.031 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/0.4167, allocations: 275.2 kB / 1.032 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.4169, allocations: 410.7 kB / 1.032 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009679/0.4179, allocations: 0.6246 MB / 1.033 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.4192, allocations: 1.185 MB / 1.034 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/0.4216, allocations: 1.872 MB / 1.036 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/0.4216, allocations: 8 kB / 1.036 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003333/0.4249, allocations: 2.01 MB / 1.038 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.425, allocations: 12.72 kB / 1.038 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/0.425, allocations: 20 kB / 1.038 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/0.4255, allocations: 167.3 kB / 1.038 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.4266, allocations: 343.4 kB / 1.038 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-05/0.4267, allocations: 39.86 kB / 1.038 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4277, allocations: 135.7 kB / 1.038 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.4279, allocations: 67.98 kB / 1.038 GB, free: 11.73 MB / 0.8262 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.001405/0.4293, allocations: 0.9868 MB / 1.039 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.4296, allocations: 110.6 kB / 1.039 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.4317, allocations: 1.222 MB / 1.041 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.4317, allocations: 11.94 kB / 1.041 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.4318, allocations: 4 kB / 1.041 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.4318, allocations: 3.984 kB / 1.041 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00605/0.4378, allocations: 3.804 MB / 1.044 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.4379, allocations: 4 kB / 1.044 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006227/0.4385, allocations: 160 kB / 1.044 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/0.4389, allocations: 147.3 kB / 1.045 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.439, allocations: 12 kB / 1.045 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.439, allocations: 11.94 kB / 1.045 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.439, allocations: 4 kB / 1.045 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.441, allocations: 1.468 MB / 1.046 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/0.4415, allocations: 271.7 kB / 1.046 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.4418, allocations: 20 kB / 1.046 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.4424, allocations: 79.89 kB / 1.046 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.4426, allocations: 56.36 kB / 1.046 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.4426, allocations: 27.94 kB / 1.046 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001023/0.4437, allocations: 0.6992 MB / 1.047 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4437, allocations: 0 / 1.047 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001444/0.4451, allocations: 384 kB / 1.048 GB, free: 1.984 MB / 0.8262 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.0002704/0.4454, allocations: 139.1 kB / 1.048 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003251/0.4487, allocations: 2.011 MB / 1.05 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4487, allocations: 0 / 1.05 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009863/0.4497, allocations: 0.8632 MB / 1.05 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.4513, allocations: 268.6 kB / 1.051 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007956/0.4593, allocations: 5.175 MB / 1.056 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/0.4615, allocations: 1.959 MB / 1.058 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.4619, allocations: 95.42 kB / 1.058 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.4619, allocations: 0 / 1.058 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of Templates: time 0.4995/0.9614, allocations: 73.28 MB / 1.129 GB, free: 106.5 MB / 0.8575 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