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.001698/0.001698, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002244/0.002244, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.541/1.541, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 2.873/2.873, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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.894e-06/1.894e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.754e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02347/0.02349, allocations: 15.18 MB / 0.8256 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00994/0.03343, allocations: 4.739 MB / 0.8303 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.03459, allocations: 84.19 kB / 0.8303 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003346/0.03793, allocations: 1.053 MB / 0.8314 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.04016, allocations: 0.8056 MB / 0.8322 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.04268, allocations: 0.9301 MB / 0.8331 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004812/0.0475, allocations: 3.68 MB / 0.8367 GB, free: 7.594 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004034/0.05153, allocations: 2.449 MB / 0.8391 GB, free: 5.078 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.05501, allocations: 2.269 MB / 0.8413 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002671/0.05768, allocations: 1.683 MB / 0.8429 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005265/0.0582, allocations: 340 kB / 0.8432 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.05974, allocations: 0.7565 MB / 0.844 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.06161, allocations: 1.423 MB / 0.8454 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.06304, allocations: 1.022 MB / 0.8464 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006642/0.06968, allocations: 5.246 MB / 0.8515 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.06969, allocations: 0 / 0.8515 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.543e-06/0.06969, allocations: 0 / 0.8515 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001082/0.0698, allocations: 0 / 0.8515 GB, free: 8.32 MB / 0.8073 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.005556/0.07535, allocations: 2.617 MB / 0.854 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.07539, allocations: 9.156 kB / 0.854 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004802/0.08019, allocations: 1.251 MB / 0.8553 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.08339, allocations: 1.595 MB / 0.8568 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.08359, allocations: 181.1 kB / 0.857 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004498/0.08404, allocations: 236.4 kB / 0.8572 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007963/0.092, allocations: 4.254 MB / 0.8614 GB, free: 13.96 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.837e-05/0.09206, allocations: 8.125 kB / 0.8614 GB, free: 13.95 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002895/0.09235, allocations: 100.3 kB / 0.8615 GB, free: 13.86 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/0.09259, allocations: 176.5 kB / 0.8617 GB, free: 13.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006615/0.09921, allocations: 3.621 MB / 0.8652 GB, free: 10.04 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01757/0.1168, allocations: 10.54 MB / 0.8755 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.1201, allocations: 1.473 MB / 0.8769 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.1211, allocations: 0.5483 MB / 0.8775 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.1212, allocations: 24.66 kB / 0.8775 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/0.1213, allocations: 47.14 kB / 0.8775 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 2.325e-06/0.1213, allocations: 0 / 0.8775 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.006428/0.1277, allocations: 3.221 MB / 0.8807 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/0.1278, allocations: 119.4 kB / 0.8808 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.1294, allocations: 1.04 MB / 0.8818 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-05/0.1294, allocations: 37.7 kB / 0.8818 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.1305, allocations: 1.138 MB / 0.883 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.1308, allocations: 289.7 kB / 0.8832 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004526/0.1312, allocations: 275.4 kB / 0.8835 GB, free: 6.848 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002971/0.1315, allocations: 410.7 kB / 0.8839 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.1326, allocations: 0.6167 MB / 0.8845 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.1343, allocations: 1.193 MB / 0.8857 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/0.1373, allocations: 1.861 MB / 0.8875 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.1373, allocations: 4 kB / 0.8875 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003745/0.141, allocations: 2.085 MB / 0.8895 GB, free: 128 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.1411, allocations: 12.16 kB / 0.8895 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/0.1411, allocations: 24 kB / 0.8895 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/0.1416, allocations: 163.3 kB / 0.8897 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.1428, allocations: 351.3 kB / 0.89 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.566e-05/0.1429, allocations: 39.86 kB / 0.8901 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009662/0.1439, allocations: 127.7 kB / 0.8902 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.144, allocations: 71.98 kB / 0.8903 GB, free: 15.34 MB / 0.8542 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.001567/0.1455, allocations: 0.9693 MB / 0.8912 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.1458, allocations: 135.3 kB / 0.8913 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.1482, allocations: 1.228 MB / 0.8925 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.1483, allocations: 8 kB / 0.8925 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1483, allocations: 4 kB / 0.8925 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.1483, allocations: 8.062 kB / 0.8926 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005717/0.154, allocations: 2.889 MB / 0.8954 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.154, allocations: 4 kB / 0.8954 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/0.1547, allocations: 159.8 kB / 0.8955 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004357/0.1551, allocations: 147.5 kB / 0.8957 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.1552, allocations: 12 kB / 0.8957 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.1552, allocations: 8 kB / 0.8957 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1552, allocations: 0 / 0.8957 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.1579, allocations: 1.486 MB / 0.8971 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007237/0.1586, allocations: 211.1 kB / 0.8973 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.1588, allocations: 20 kB / 0.8974 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.1594, allocations: 63.91 kB / 0.8974 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.1596, allocations: 64.48 kB / 0.8975 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.283e-05/0.1596, allocations: 23.94 kB / 0.8975 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00112/0.1607, allocations: 0.691 MB / 0.8982 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1607, allocations: 0 / 0.8982 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001533/0.1623, allocations: 392 kB / 0.8986 GB, free: 6.645 MB / 0.8542 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.0002424/0.1625, allocations: 123.1 kB / 0.8987 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002829/0.1654, allocations: 1.361 MB / 0.9 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1654, allocations: 4.875 kB / 0.9 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.1664, allocations: 0.5358 MB / 0.9005 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.1679, allocations: 270.4 kB / 0.9008 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007168/0.175, allocations: 3.871 MB / 0.9046 GB, free: 400 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/0.177, allocations: 1.336 MB / 0.9059 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001229/0.1783, allocations: 449.3 kB / 0.9063 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.1785, allocations: 80.5 kB / 0.9064 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of SimCode: time 1.233e-06/0.1785, allocations: 0 / 0.9064 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of Templates: time 0.02801/0.2065, allocations: 12.85 MB / 0.9189 GB, free: 1.949 MB / 0.8698 GB " [Timeout remaining time 300] 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: 8.140281426953152]