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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001135/0.001135, allocations: 91.77 kB / 16.02 MB, free: 80 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.0015/0.0015, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003814, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6865, allocations: 142.4 MB / 0.9557 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01656/0.7031, allocations: 15.38 MB / 0.9707 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009155/0.7123, allocations: 4.782 MB / 0.9754 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.7141, allocations: 55.03 kB / 0.9754 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009796/0.7151, allocations: 258.4 kB / 0.9757 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.7176, allocations: 0.6908 MB / 0.9764 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.7197, allocations: 0.6679 MB / 0.977 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006379/0.7261, allocations: 5.26 MB / 0.9822 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.7366, allocations: 5.829 MB / 0.9879 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.739, allocations: 1.097 MB / 0.9889 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/0.7417, allocations: 1.51 MB / 0.9904 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000541/0.7422, allocations: 144 kB / 0.9905 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.7441, allocations: 0.7331 MB / 0.9913 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001544/0.7456, allocations: 1.072 MB / 0.9923 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002176/0.7478, allocations: 1.183 MB / 0.9935 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004412/0.7523, allocations: 4.295 MB / 0.9976 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7523, allocations: 0 / 0.9976 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7523, allocations: 0 / 0.9976 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001676/0.7525, allocations: 0 / 0.9976 GB, free: 4.238 MB / 0.7481 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.005421/0.7579, allocations: 2.167 MB / 0.9998 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.758, allocations: 12.03 kB / 0.9998 GB, free: 2 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004719/0.7627, allocations: 0.8368 MB / 1.001 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/0.7666, allocations: 1.501 MB / 1.002 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.7668, allocations: 173.1 kB / 1.002 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.768, allocations: 232.4 kB / 1.002 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.7789, allocations: 4.175 MB / 1.007 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.779, allocations: 3.938 kB / 1.007 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007391/0.7798, allocations: 104 kB / 1.007 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002648/0.7801, allocations: 168.5 kB / 1.007 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007726/0.7878, allocations: 3.64 MB / 1.01 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02164/0.8095, allocations: 16.56 MB / 1.027 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/0.813, allocations: 2.3 MB / 1.029 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009152/0.814, allocations: 0.5801 MB / 1.029 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.8142, allocations: 93.66 kB / 1.029 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.8142, allocations: 47.06 kB / 1.029 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 2.665e-06/0.8142, allocations: 0 / 1.029 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.006227/0.8205, allocations: 3.459 MB / 1.033 GB, free: 14.16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.8206, allocations: 111.5 kB / 1.033 GB, free: 14.02 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.8221, allocations: 1.022 MB / 1.034 GB, free: 12.98 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.8222, allocations: 33.7 kB / 1.034 GB, free: 12.94 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007167/0.8229, allocations: 1.103 MB / 1.035 GB, free: 11.82 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.8232, allocations: 276.2 kB / 1.035 GB, free: 11.54 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.8233, allocations: 113.7 kB / 1.035 GB, free: 11.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.8235, allocations: 410.7 kB / 1.036 GB, free: 11.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009845/0.8245, allocations: 0.6285 MB / 1.036 GB, free: 10.39 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.8259, allocations: 1.189 MB / 1.038 GB, free: 8.938 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.8282, allocations: 1.876 MB / 1.039 GB, free: 6.801 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/0.8283, allocations: 4 kB / 1.039 GB, free: 6.797 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003296/0.8316, allocations: 2.03 MB / 1.041 GB, free: 4.746 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.8316, allocations: 16.62 kB / 1.041 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.8317, allocations: 20 kB / 1.041 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/0.8321, allocations: 159.3 kB / 1.042 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.8333, allocations: 351.4 kB / 1.042 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.525e-05/0.8333, allocations: 39.86 kB / 1.042 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.8345, allocations: 135.7 kB / 1.042 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.8346, allocations: 68 kB / 1.042 GB, free: 3.961 MB / 0.795 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.001632/0.8363, allocations: 0.9771 MB / 1.043 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.8366, allocations: 110.6 kB / 1.043 GB, free: 2.863 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.8389, allocations: 1.234 MB / 1.044 GB, free: 1.605 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.8389, allocations: 15.92 kB / 1.044 GB, free: 1.59 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.8389, allocations: 8 kB / 1.044 GB, free: 1.582 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.8389, allocations: 12.06 kB / 1.044 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006225/0.8452, allocations: 3.819 MB / 1.048 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.8452, allocations: 7.938 kB / 1.048 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.8458, allocations: 155.8 kB / 1.048 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/0.8462, allocations: 143.6 kB / 1.048 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.8463, allocations: 20 kB / 1.048 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.405e-05/0.8463, allocations: 11.92 kB / 1.049 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.8463, allocations: 7.938 kB / 1.049 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.8485, allocations: 1.461 MB / 1.05 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/0.8492, allocations: 299.6 kB / 1.05 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.8495, allocations: 23.98 kB / 1.05 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007682/0.8502, allocations: 71.91 kB / 1.05 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.8504, allocations: 56.42 kB / 1.05 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.8504, allocations: 24 kB / 1.05 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001155/0.8516, allocations: 0.6953 MB / 1.051 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8516, allocations: 0 / 1.051 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001629/0.8532, allocations: 388 kB / 1.051 GB, free: 10.16 MB / 0.8106 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.0002576/0.8535, allocations: 127.7 kB / 1.052 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002613/0.8561, allocations: 1.715 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.8562, allocations: 0 / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.8572, allocations: 0.8744 MB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.8593, allocations: 246.8 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008749/0.8681, allocations: 5.206 MB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/0.8704, allocations: 1.966 MB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.8708, allocations: 95.42 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of SimCode: time 2.595e-06/0.8708, allocations: 0 / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.08661/0.9575, allocations: 73.04 MB / 1.133 GB, free: 6.598 MB / 0.8887 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