Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009006/0.0009006, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008589/0.0008589, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9112/0.9112, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.73/1.73, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.66e-05, allocations: 9.375 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01128/0.0113, allocations: 15.17 MB / 0.997 GB, free: 2.867 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005462/0.01676, allocations: 4.738 MB / 1.002 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007063/0.01747, allocations: 83.38 kB / 1.002 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.0189, allocations: 1.052 MB / 1.003 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.0202, allocations: 0.8002 MB / 1.004 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.02148, allocations: 0.9328 MB / 1.004 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002252/0.02374, allocations: 3.676 MB / 1.008 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.02602, allocations: 2.449 MB / 1.01 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.028, allocations: 2.277 MB / 1.013 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.02932, allocations: 1.683 MB / 1.014 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.02958, allocations: 340 kB / 1.015 GB, free: 0.7305 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008568/0.03044, allocations: 0.7604 MB / 1.015 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0007683/0.0312, allocations: 1.423 MB / 1.017 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0009182/0.03212, allocations: 1.014 MB / 1.018 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.03517, allocations: 5.244 MB / 1.023 GB, free: 8.27 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.03517, allocations: 0 / 1.023 GB, free: 8.27 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.443e-06/0.03517, allocations: 0 / 1.023 GB, free: 8.27 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.103e-05/0.03521, allocations: 0 / 1.023 GB, free: 8.27 MB / 0.9792 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.003065/0.03828, allocations: 2.615 MB / 1.025 GB, free: 5.609 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.03832, allocations: 12.03 kB / 1.025 GB, free: 5.598 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.0403, allocations: 0.8382 MB / 1.026 GB, free: 4.758 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.04199, allocations: 1.542 MB / 1.028 GB, free: 3.184 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.244e-05/0.04207, allocations: 177.1 kB / 1.028 GB, free: 3.008 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.04232, allocations: 236.3 kB / 1.028 GB, free: 2.777 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/0.0465, allocations: 4.258 MB / 1.032 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.04654, allocations: 4.188 kB / 1.032 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.04671, allocations: 96.36 kB / 1.032 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.04683, allocations: 180.5 kB / 1.033 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/0.05031, allocations: 3.624 MB / 1.036 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5175/0.5679, allocations: 10.46 MB / 1.046 GB, free: 96.14 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.5697, allocations: 1.459 MB / 1.048 GB, free: 96.07 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.5702, allocations: 0.5455 MB / 1.048 GB, free: 96.05 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.115e-05/0.5703, allocations: 18.67 kB / 1.048 GB, free: 96.05 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.5704, allocations: 45.59 kB / 1.048 GB, free: 96.01 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.5704, allocations: 0.7188 kB / 1.048 GB, free: 96.01 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76): time 0.003176/0.5735, allocations: 3.2 MB / 1.051 GB, free: 95.24 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.5736, allocations: 113 kB / 1.052 GB, free: 95.11 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.5743, allocations: 1.043 MB / 1.053 GB, free: 94.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.5743, allocations: 37.61 kB / 1.053 GB, free: 94.66 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.5746, allocations: 1.138 MB / 1.054 GB, free: 93.95 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.794e-05/0.5747, allocations: 285.4 kB / 1.054 GB, free: 93.74 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.5749, allocations: 275.6 kB / 1.054 GB, free: 93.61 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.575, allocations: 420.2 kB / 1.055 GB, free: 93.25 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.5755, allocations: 0.6142 MB / 1.055 GB, free: 93.05 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.5761, allocations: 1.19 MB / 1.056 GB, free: 92.13 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.5772, allocations: 1.866 MB / 1.058 GB, free: 90.91 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.5773, allocations: 5.594 kB / 1.058 GB, free: 90.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001595/0.5788, allocations: 2.018 MB / 1.06 GB, free: 90.14 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.5789, allocations: 11.62 kB / 1.06 GB, free: 90.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.5789, allocations: 19.94 kB / 1.06 GB, free: 90.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.5791, allocations: 168 kB / 1.06 GB, free: 90.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.5797, allocations: 347.2 kB / 1.061 GB, free: 90.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.5797, allocations: 36.58 kB / 1.061 GB, free: 90.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.5802, allocations: 129.8 kB / 1.061 GB, free: 90 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.5803, allocations: 72.27 kB / 1.061 GB, free: 89.99 MB / 0.9948 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.0009309/0.5812, allocations: 0.9851 MB / 1.062 GB, free: 89.53 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.5813, allocations: 107.8 kB / 1.062 GB, free: 89.47 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.5824, allocations: 1.23 MB / 1.063 GB, free: 88.96 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5824, allocations: 8.562 kB / 1.063 GB, free: 88.96 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5824, allocations: 2.844 kB / 1.063 GB, free: 88.96 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5824, allocations: 6.797 kB / 1.063 GB, free: 88.96 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.585, allocations: 2.888 MB / 1.066 GB, free: 87.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.585, allocations: 3.094 kB / 1.066 GB, free: 87.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.5853, allocations: 155.3 kB / 1.066 GB, free: 87.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.5855, allocations: 143.1 kB / 1.066 GB, free: 87.65 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.5855, allocations: 17.47 kB / 1.066 GB, free: 87.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.5855, allocations: 9.156 kB / 1.066 GB, free: 87.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5855, allocations: 3.156 kB / 1.066 GB, free: 87.64 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.5866, allocations: 1.47 MB / 1.068 GB, free: 86.85 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.5868, allocations: 193.1 kB / 1.068 GB, free: 86.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/0.5869, allocations: 24.62 kB / 1.068 GB, free: 86.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.5872, allocations: 62.78 kB / 1.068 GB, free: 86.73 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.845e-05/0.5873, allocations: 67.67 kB / 1.068 GB, free: 86.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.5873, allocations: 19.81 kB / 1.068 GB, free: 86.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005027/0.5878, allocations: 0.6891 MB / 1.069 GB, free: 86.42 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5878, allocations: 0 / 1.069 GB, free: 86.42 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001005/0.5888, allocations: 389.7 kB / 1.069 GB, free: 86.39 MB / 0.9948 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.0001884/0.589, allocations: 130.8 kB / 1.069 GB, free: 86.28 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.5903, allocations: 1.363 MB / 1.071 GB, free: 85.82 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5903, allocations: 0 / 1.071 GB, free: 85.82 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.5907, allocations: 0.539 MB / 1.071 GB, free: 85.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/0.5915, allocations: 263 kB / 1.071 GB, free: 85.54 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.5958, allocations: 4.162 MB / 1.076 GB, free: 83.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.597, allocations: 1.383 MB / 1.077 GB, free: 83.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.5972, allocations: 101.3 kB / 1.077 GB, free: 83.18 MB / 0.9948 GB Notification: Performance of SimCode: time 1.233e-06/0.5972, allocations: 0 / 1.077 GB, free: 83.18 MB / 0.9948 GB Notification: Performance of Templates: time 0.07755/0.6748, allocations: 74.26 MB / 1.149 GB, free: 50.24 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.749899010173976]