Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 106.9 kB / 15.99 MB, free: 6.359 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.001844/0.001844, allocations: 193.9 kB / 16.91 MB, free: 6.195 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.23/2.23, allocations: 390.2 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 62.3 kB / 0.8127 GB, free: 33.22 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.308, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00657/0.3146, allocations: 4.92 MB / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004169/0.3188, allocations: 2.475 MB / 0.957 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005187/0.3193, allocations: 23.81 kB / 0.957 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.3206, allocations: 370.4 kB / 0.9574 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.3218, allocations: 406.1 kB / 0.9578 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009325/0.3228, allocations: 366.5 kB / 0.9581 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.3239, allocations: 0.9289 MB / 0.959 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007055/0.3247, allocations: 398.5 kB / 0.9594 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.3252, allocations: 346.5 kB / 0.9597 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005752/0.3258, allocations: 362.4 kB / 0.9601 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.3259, allocations: 40 kB / 0.9601 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007369/0.3267, allocations: 403.1 kB / 0.9605 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.3269, allocations: 183.4 kB / 0.9607 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.3273, allocations: 314.3 kB / 0.961 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008491/0.3282, allocations: 0.6861 MB / 0.9616 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3282, allocations: 0 / 0.9616 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3282, allocations: 0 / 0.9616 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.917e-05/0.3283, allocations: 0 / 0.9616 GB, free: 13.04 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001534/0.3298, allocations: 0.9385 MB / 0.9626 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3298, allocations: 12.03 kB / 0.9626 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.3311, allocations: 207.8 kB / 0.9628 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.3317, allocations: 0.4982 MB / 0.9632 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.3318, allocations: 33.36 kB / 0.9633 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.3319, allocations: 48.36 kB / 0.9633 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.3329, allocations: 0.8483 MB / 0.9642 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.333, allocations: 7.938 kB / 0.9642 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.333, allocations: 20 kB / 0.9642 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-05/0.3331, allocations: 68.95 kB / 0.9642 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007705/0.3339, allocations: 0.5656 MB / 0.9648 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.3381, allocations: 5.658 MB / 0.9703 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/0.3388, allocations: 458.3 kB / 0.9708 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.3391, allocations: 232.7 kB / 0.971 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.3391, allocations: 4 kB / 0.971 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.3392, allocations: 34.5 kB / 0.971 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.3392, allocations: 0 / 0.971 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002501/0.3417, allocations: 1.509 MB / 0.9725 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.3417, allocations: 55.69 kB / 0.9725 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.3422, allocations: 0.5068 MB / 0.973 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3423, allocations: 29.7 kB / 0.9731 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.3425, allocations: 362.8 kB / 0.9734 GB, free: 176 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.3426, allocations: 118.4 kB / 0.9735 GB, free: 56 kB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3428, allocations: 110.2 kB / 0.9736 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.343, allocations: 366.8 kB / 0.974 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.3432, allocations: 193.2 kB / 0.9742 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.3437, allocations: 451.3 kB / 0.9746 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007827/0.3445, allocations: 0.6877 MB / 0.9753 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3445, allocations: 4 kB / 0.9753 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001213/0.3457, allocations: 0.813 MB / 0.9761 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3457, allocations: 8 kB / 0.9761 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.3457, allocations: 12 kB / 0.9761 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/0.3463, allocations: 160.5 kB / 0.9762 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.3467, allocations: 127.7 kB / 0.9764 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.3516, allocations: 4.332 MB / 0.9806 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008974/0.3525, allocations: 32.12 kB / 0.9806 GB, free: 8.086 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.3527, allocations: 35.98 kB / 0.9807 GB, free: 8.051 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005078/0.3532, allocations: 219.5 kB / 0.9809 GB, free: 7.828 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.3534, allocations: 63.25 kB / 0.9809 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.3553, allocations: 0.5931 MB / 0.9815 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3553, allocations: 4 kB / 0.9815 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.3553, allocations: 8 kB / 0.9815 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3553, allocations: 0 / 0.9815 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/0.3586, allocations: 1.263 MB / 0.9828 GB, free: 5.785 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.3586, allocations: 7.938 kB / 0.9828 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/0.3591, allocations: 55.89 kB / 0.9828 GB, free: 5.723 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007701/0.3599, allocations: 144.3 kB / 0.983 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.36, allocations: 11.94 kB / 0.983 GB, free: 5.555 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005079/0.3651, allocations: 4.324 MB / 0.9872 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/0.3651, allocations: 12.19 kB / 0.9872 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.3669, allocations: 0.708 MB / 0.9879 GB, free: 40 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004339/0.3674, allocations: 168.3 kB / 0.988 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.3675, allocations: 11.98 kB / 0.9881 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/0.368, allocations: 19.97 kB / 0.9881 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3682, allocations: 43.83 kB / 0.9881 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.3682, allocations: 12 kB / 0.9881 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007058/0.369, allocations: 338.8 kB / 0.9885 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.3e-07/0.369, allocations: 0 / 0.9885 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001103/0.3701, allocations: 136 kB / 0.9886 GB, free: 15.31 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001958/0.3703, allocations: 123.1 kB / 0.9887 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002581/0.3729, allocations: 1.076 MB / 0.9898 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3729, allocations: 0 / 0.9898 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.3744, allocations: 0.7391 MB / 0.9905 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.3763, allocations: 205.2 kB / 0.9907 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.3794, allocations: 1.322 MB / 0.992 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007885/0.3802, allocations: 0.9059 MB / 0.9928 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.3805, allocations: 43.44 kB / 0.9929 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of SimCode: time 9.92e-07/0.3805, allocations: 4 kB / 0.9929 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of Templates: time 0.03695/0.4174, allocations: 18.31 MB / 1.011 GB, free: 8.367 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches