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.00128/0.00128, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001705/0.001705, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.32 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.444/2.444, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003689, allocations: 11.98 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.918/0.9184, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01503/0.9335, allocations: 14.53 MB / 0.9686 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00974/0.9433, allocations: 4.564 MB / 0.9731 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.9451, allocations: 59.03 kB / 0.9731 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008768/0.9459, allocations: 247.1 kB / 0.9734 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.9481, allocations: 0.5827 MB / 0.974 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.9501, allocations: 0.499 MB / 0.9744 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005602/0.9557, allocations: 4.11 MB / 0.9785 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009415/0.9652, allocations: 4.949 MB / 0.9833 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.968, allocations: 1.105 MB / 0.9844 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.971, allocations: 1.476 MB / 0.9858 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003647/0.9714, allocations: 144 kB / 0.9859 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.9727, allocations: 395.7 kB / 0.9863 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.974, allocations: 1.064 MB / 0.9874 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007339/0.9747, allocations: 496.5 kB / 0.9878 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004778/0.9795, allocations: 4.268 MB / 0.992 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.9795, allocations: 0 / 0.992 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9795, allocations: 0 / 0.992 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001517/0.9797, allocations: 0 / 0.992 GB, free: 8.91 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.004971/0.9847, allocations: 2.198 MB / 0.9941 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.9847, allocations: 8.031 kB / 0.9942 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/0.9889, allocations: 0.8476 MB / 0.995 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/0.9921, allocations: 1.469 MB / 0.9964 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.9923, allocations: 176.8 kB / 0.9966 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005199/0.9928, allocations: 231.9 kB / 0.9968 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008164/1.001, allocations: 4.147 MB / 1.001 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.738e-05/1.001, allocations: 7.938 kB / 1.001 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/1.001, allocations: 107.9 kB / 1.001 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/1.002, allocations: 164.5 kB / 1.001 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007906/1.009, allocations: 3.624 MB / 1.005 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02369/1.033, allocations: 16.54 MB / 1.021 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/1.037, allocations: 2.292 MB / 1.023 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009242/1.038, allocations: 0.5858 MB / 1.024 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/1.038, allocations: 89.67 kB / 1.024 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/1.038, allocations: 47.05 kB / 1.024 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/1.038, allocations: 0 / 1.024 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.007354/1.045, allocations: 3.444 MB / 1.027 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.045, allocations: 123.4 kB / 1.027 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/1.047, allocations: 1.006 MB / 1.028 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/1.047, allocations: 37.7 kB / 1.028 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009651/1.048, allocations: 1.107 MB / 1.029 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/1.049, allocations: 276.1 kB / 1.03 GB, free: 288 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/1.049, allocations: 28 kB / 1.03 GB, free: 260 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002698/1.049, allocations: 410.7 kB / 1.03 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/1.05, allocations: 0.6207 MB / 1.031 GB, free: 15.22 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/1.051, allocations: 1.185 MB / 1.032 GB, free: 13.77 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/1.052, allocations: 0.8579 MB / 1.033 GB, free: 12.91 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/1.052, allocations: 8 kB / 1.033 GB, free: 12.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003088/1.056, allocations: 2.014 MB / 1.035 GB, free: 10.87 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/1.056, allocations: 12.62 kB / 1.035 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/1.056, allocations: 20 kB / 1.035 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/1.056, allocations: 171.3 kB / 1.035 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.057, allocations: 343.4 kB / 1.035 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.723e-05/1.057, allocations: 43.84 kB / 1.035 GB, free: 10.28 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/1.059, allocations: 131.7 kB / 1.035 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.059, allocations: 71.98 kB / 1.035 GB, free: 10.08 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001722/1.06, allocations: 0.9852 MB / 1.036 GB, free: 9.086 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/1.061, allocations: 110.7 kB / 1.036 GB, free: 8.977 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/1.063, allocations: 1.23 MB / 1.038 GB, free: 7.727 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.063, allocations: 8 kB / 1.038 GB, free: 7.719 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.063, allocations: 4 kB / 1.038 GB, free: 7.715 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.063, allocations: 7.984 kB / 1.038 GB, free: 7.707 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006/1.069, allocations: 3.815 MB / 1.041 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.069, allocations: 0 / 1.041 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/1.07, allocations: 159.8 kB / 1.042 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003457/1.07, allocations: 147.6 kB / 1.042 GB, free: 3.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/1.07, allocations: 19.98 kB / 1.042 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/1.07, allocations: 8 kB / 1.042 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.07, allocations: 3.953 kB / 1.042 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/1.072, allocations: 1.472 MB / 1.043 GB, free: 1.875 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/1.073, allocations: 287.6 kB / 1.043 GB, free: 1.574 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.073, allocations: 20 kB / 1.043 GB, free: 1.555 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/1.073, allocations: 75.89 kB / 1.043 GB, free: 1.48 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.073, allocations: 72.25 kB / 1.044 GB, free: 1.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/1.073, allocations: 20 kB / 1.044 GB, free: 1.391 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009352/1.074, allocations: 0.6874 MB / 1.044 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/1.074, allocations: 4 kB / 1.044 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001386/1.076, allocations: 384 kB / 1.045 GB, free: 320 kB / 0.795 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/1.076, allocations: 128.7 kB / 1.045 GB, free: 184 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002338/1.078, allocations: 1.714 MB / 1.046 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.078, allocations: 4 kB / 1.046 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009175/1.079, allocations: 0.8681 MB / 1.047 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.081, allocations: 241.1 kB / 1.047 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006809/1.087, allocations: 4.618 MB / 1.052 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/1.089, allocations: 1.924 MB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00126/1.09, allocations: 453.6 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/1.091, allocations: 83.42 kB / 1.054 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of SimCode: time 9.92e-07/1.091, allocations: 0 / 1.054 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of Templates: time 0.02568/1.116, allocations: 12.42 MB / 1.067 GB, free: 9.727 MB / 0.8262 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/jenkins/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