Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001903/0.001903, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002094/0.002094, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.912/2.912, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.519e-05, allocations: 2.969 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02364/0.02367, allocations: 16.11 MB / 0.8021 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009492/0.03316, allocations: 4.918 MB / 0.8069 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009892/0.03415, allocations: 87.38 kB / 0.807 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00311/0.03726, allocations: 1.081 MB / 0.8081 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.03928, allocations: 0.8018 MB / 0.8088 GB, free: 5.75 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.04198, allocations: 0.9388 MB / 0.8098 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.04677, allocations: 3.676 MB / 0.8133 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004099/0.05087, allocations: 2.443 MB / 0.8157 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003854/0.05473, allocations: 2.293 MB / 0.818 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.05747, allocations: 1.775 MB / 0.8197 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005635/0.05803, allocations: 340 kB / 0.82 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.05959, allocations: 0.7565 MB / 0.8208 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.06133, allocations: 1.451 MB / 0.8222 GB, free: 8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.06289, allocations: 1.029 MB / 0.8232 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.006831/0.06972, allocations: 5.277 MB / 0.8283 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.06972, allocations: 0 / 0.8283 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.302e-06/0.06973, allocations: 0 / 0.8283 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001111/0.06984, allocations: 0 / 0.8283 GB, free: 1.68 MB / 0.7761 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.007381/0.07722, allocations: 3.061 MB / 0.8313 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.07727, allocations: 8.031 kB / 0.8313 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004888/0.08216, allocations: 1.233 MB / 0.8325 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003889/0.08604, allocations: 1.459 MB / 0.834 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.08622, allocations: 177.1 kB / 0.8341 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/0.08669, allocations: 236.3 kB / 0.8344 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00571/0.0924, allocations: 2.605 MB / 0.8369 GB, free: 8.645 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.813e-05/0.09245, allocations: 8.125 kB / 0.8369 GB, free: 8.637 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002788/0.09273, allocations: 104.8 kB / 0.837 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/0.09298, allocations: 176.5 kB / 0.8372 GB, free: 8.359 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.09672, allocations: 1.216 MB / 0.8384 GB, free: 7.129 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02198/0.1187, allocations: 13.33 MB / 0.8514 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.1215, allocations: 0.9595 MB / 0.8523 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.1222, allocations: 264.9 kB / 0.8526 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.1223, allocations: 24.64 kB / 0.8526 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.1223, allocations: 45.98 kB / 0.8526 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=72): time 2.435e-06/0.1223, allocations: 0 / 0.8526 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of matching and sorting (n=76): time 0.004786/0.1271, allocations: 2.178 MB / 0.8548 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.1272, allocations: 111.5 kB / 0.8549 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.129, allocations: 1.237 MB / 0.8561 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.129, allocations: 37.7 kB / 0.8561 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.1301, allocations: 1.266 MB / 0.8574 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/0.1305, allocations: 305.6 kB / 0.8576 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005499/0.131, allocations: 357 kB / 0.858 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000744/0.1318, allocations: 0.6836 MB / 0.8587 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.1324, allocations: 283.8 kB / 0.8589 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.1339, allocations: 1.154 MB / 0.8601 GB, free: 15.94 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.1362, allocations: 1.516 MB / 0.8615 GB, free: 14.06 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.1362, allocations: 8 kB / 0.8615 GB, free: 14.05 MB / 0.823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002847/0.1391, allocations: 1.39 MB / 0.8629 GB, free: 12.64 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.1391, allocations: 16 kB / 0.8629 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.1391, allocations: 16 kB / 0.8629 GB, free: 12.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/0.1395, allocations: 135.2 kB / 0.8631 GB, free: 12.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.1408, allocations: 351.3 kB / 0.8634 GB, free: 12.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.5e-05/0.1408, allocations: 39.86 kB / 0.8634 GB, free: 12.08 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009662/0.1418, allocations: 123.7 kB / 0.8635 GB, free: 11.96 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.1419, allocations: 68 kB / 0.8636 GB, free: 11.89 MB / 0.823 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.0007252/0.1426, allocations: 324 kB / 0.8639 GB, free: 11.56 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.1429, allocations: 135.3 kB / 0.864 GB, free: 11.43 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.1449, allocations: 0.7282 MB / 0.8648 GB, free: 10.67 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.1449, allocations: 8 kB / 0.8648 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1449, allocations: 0 / 0.8648 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.1449, allocations: 7.984 kB / 0.8648 GB, free: 10.65 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006381/0.1513, allocations: 3.054 MB / 0.8678 GB, free: 7.504 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.1513, allocations: 4.031 kB / 0.8678 GB, free: 7.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.152, allocations: 151.8 kB / 0.8679 GB, free: 7.352 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003613/0.1524, allocations: 114.6 kB / 0.868 GB, free: 7.223 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.1524, allocations: 16 kB / 0.868 GB, free: 7.207 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.1524, allocations: 4 kB / 0.868 GB, free: 7.203 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1524, allocations: 4 kB / 0.868 GB, free: 7.199 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.1544, allocations: 1.18 MB / 0.8692 GB, free: 5.949 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/0.155, allocations: 195.1 kB / 0.8694 GB, free: 5.758 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.1551, allocations: 12 kB / 0.8694 GB, free: 5.746 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/0.1557, allocations: 67.91 kB / 0.8695 GB, free: 5.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.1559, allocations: 56.48 kB / 0.8695 GB, free: 5.625 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/0.1559, allocations: 27.94 kB / 0.8695 GB, free: 5.598 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001082/0.157, allocations: 0.6714 MB / 0.8702 GB, free: 4.914 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.157, allocations: 0 / 0.8702 GB, free: 4.914 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001645/0.1587, allocations: 392 kB / 0.8706 GB, free: 4.531 MB / 0.823 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.0002551/0.1589, allocations: 128.8 kB / 0.8707 GB, free: 4.395 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002308/0.1612, allocations: 0.9328 MB / 0.8716 GB, free: 3.441 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1612, allocations: 4 kB / 0.8716 GB, free: 3.438 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.162, allocations: 376.9 kB / 0.872 GB, free: 3.055 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.1636, allocations: 274.9 kB / 0.8722 GB, free: 2.797 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006511/0.1701, allocations: 3.397 MB / 0.8755 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/0.1718, allocations: 1.153 MB / 0.8767 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001092/0.1729, allocations: 377.2 kB / 0.877 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.1731, allocations: 84.48 kB / 0.8771 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of SimCode: time 1.623e-06/0.1731, allocations: 0 / 0.8771 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.02792/0.2011, allocations: 12.75 MB / 0.8896 GB, free: 1.199 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.25891670002602]