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.001659/0.001659, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001545/0.001545, 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.461/1.461, 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.865/2.865, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.803e-06/1.803e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.873e-05, allocations: 9.625 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02298/0.02301, allocations: 15.17 MB / 0.8012 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009887/0.03289, allocations: 4.751 MB / 0.8058 GB, free: 8.863 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.03409, allocations: 83.38 kB / 0.8059 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003365/0.03745, allocations: 1.057 MB / 0.807 GB, free: 7.723 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.03974, allocations: 0.7986 MB / 0.8077 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.0423, allocations: 0.9264 MB / 0.8086 GB, free: 6 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004796/0.0471, allocations: 3.68 MB / 0.8122 GB, free: 2.309 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003766/0.05087, allocations: 2.439 MB / 0.8146 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/0.05461, allocations: 2.273 MB / 0.8168 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002718/0.05733, allocations: 1.681 MB / 0.8185 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005401/0.05787, allocations: 344 kB / 0.8188 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.05939, allocations: 0.7534 MB / 0.8195 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.00163/0.06102, allocations: 1.423 MB / 0.8209 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.0625, allocations: 1.026 MB / 0.8219 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.006603/0.0691, allocations: 5.24 MB / 0.8271 GB, free: 3.047 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.0691, allocations: 4.875 kB / 0.8271 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.533e-06/0.06911, allocations: 0 / 0.8271 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.66e-05/0.0692, allocations: 0 / 0.8271 GB, free: 3.043 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.005516/0.07472, allocations: 2.607 MB / 0.8296 GB, free: 408 kB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.07476, allocations: 11.97 kB / 0.8296 GB, free: 396 kB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004723/0.07948, allocations: 1.26 MB / 0.8308 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003176/0.08266, allocations: 1.594 MB / 0.8324 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.08285, allocations: 181.1 kB / 0.8326 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000457/0.08331, allocations: 232.4 kB / 0.8328 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007727/0.09103, allocations: 4.262 MB / 0.837 GB, free: 8.676 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.895e-05/0.09109, allocations: 8.125 kB / 0.837 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/0.09139, allocations: 97.23 kB / 0.8371 GB, free: 8.574 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002474/0.09164, allocations: 176.5 kB / 0.8372 GB, free: 8.398 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006782/0.09842, allocations: 3.615 MB / 0.8408 GB, free: 4.77 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01752/0.1159, allocations: 10.54 MB / 0.8511 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.1193, allocations: 1.473 MB / 0.8525 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009844/0.1202, allocations: 0.5549 MB / 0.853 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.1204, allocations: 24.64 kB / 0.8531 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.1204, allocations: 43.16 kB / 0.8531 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=72): time 2.514e-06/0.1204, allocations: 4 kB / 0.8531 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=76): time 0.00622/0.1266, allocations: 3.228 MB / 0.8563 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.1268, allocations: 115.4 kB / 0.8564 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.1283, allocations: 1.044 MB / 0.8574 GB, free: 3.312 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.1284, allocations: 37.64 kB / 0.8574 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009623/0.1293, allocations: 1.134 MB / 0.8585 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/0.1296, allocations: 285.6 kB / 0.8588 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004591/0.1301, allocations: 275.4 kB / 0.8591 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002719/0.1303, allocations: 410.7 kB / 0.8595 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.1314, allocations: 0.6207 MB / 0.8601 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.1331, allocations: 1.189 MB / 0.8612 GB, free: 15.08 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/0.136, allocations: 1.857 MB / 0.863 GB, free: 12.96 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.136, allocations: 12 kB / 0.863 GB, free: 12.95 MB / 0.823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003796/0.1398, allocations: 2.081 MB / 0.8651 GB, free: 10.85 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.1398, allocations: 16 kB / 0.8651 GB, free: 10.83 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.1399, allocations: 16 kB / 0.8651 GB, free: 10.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/0.1403, allocations: 167.9 kB / 0.8653 GB, free: 10.64 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.1416, allocations: 351.3 kB / 0.8656 GB, free: 10.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.878e-05/0.1416, allocations: 43.84 kB / 0.8656 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009806/0.1426, allocations: 119.8 kB / 0.8658 GB, free: 10.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.1427, allocations: 68 kB / 0.8658 GB, free: 10.07 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.001561/0.1443, allocations: 0.9771 MB / 0.8668 GB, free: 9.082 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.1446, allocations: 131.3 kB / 0.8669 GB, free: 8.953 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.147, allocations: 1.232 MB / 0.8681 GB, free: 7.691 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.147, allocations: 8 kB / 0.8681 GB, free: 7.684 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.147, allocations: 4 kB / 0.8681 GB, free: 7.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.147, allocations: 3.984 kB / 0.8681 GB, free: 7.676 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005469/0.1525, allocations: 2.893 MB / 0.8709 GB, free: 4.707 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.1525, allocations: 4 kB / 0.871 GB, free: 4.703 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.1532, allocations: 159.8 kB / 0.8711 GB, free: 4.547 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000397/0.1536, allocations: 143.3 kB / 0.8712 GB, free: 4.395 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.1536, allocations: 12 kB / 0.8713 GB, free: 4.383 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.1536, allocations: 4 kB / 0.8713 GB, free: 4.379 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1536, allocations: 8.25 kB / 0.8713 GB, free: 4.371 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.156, allocations: 1.486 MB / 0.8727 GB, free: 2.832 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/0.1565, allocations: 203.2 kB / 0.8729 GB, free: 2.633 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.1566, allocations: 19.98 kB / 0.8729 GB, free: 2.613 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/0.1572, allocations: 67.91 kB / 0.873 GB, free: 2.547 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.1574, allocations: 60.48 kB / 0.8731 GB, free: 2.484 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.1574, allocations: 27.94 kB / 0.8731 GB, free: 2.457 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001041/0.1585, allocations: 0.6909 MB / 0.8738 GB, free: 1.754 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.1585, allocations: 0 / 0.8738 GB, free: 1.754 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001472/0.1599, allocations: 392 kB / 0.8741 GB, free: 1.371 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.0002966/0.1602, allocations: 127 kB / 0.8742 GB, free: 1.234 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003361/0.1636, allocations: 1.361 MB / 0.8756 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1636, allocations: 0 / 0.8756 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.1648, allocations: 0.5371 MB / 0.8761 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.1663, allocations: 275.4 kB / 0.8764 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007002/0.1733, allocations: 3.871 MB / 0.8801 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/0.1752, allocations: 1.329 MB / 0.8814 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00115/0.1763, allocations: 449.3 kB / 0.8819 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.1766, allocations: 88.48 kB / 0.882 GB, free: 9.199 MB / 0.8386 GB Notification: Performance of SimCode: time 8.12e-07/0.1766, allocations: 0 / 0.882 GB, free: 9.199 MB / 0.8386 GB Notification: Performance of Templates: time 0.02779/0.2044, allocations: 12.85 MB / 0.8945 GB, free: 12.65 MB / 0.8542 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] 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.045101225958206]