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.001455/0.001455, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001584/0.001584, allocations: 166.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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.445/1.445, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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.702/2.702, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 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.874e-06/1.874e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.209e-05, allocations: 6.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02427/0.0243, allocations: 15.17 MB / 0.9658 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009247/0.03355, allocations: 4.727 MB / 0.9704 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.03498, allocations: 87.31 kB / 0.9705 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003346/0.03833, allocations: 1.056 MB / 0.9715 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.04066, allocations: 0.8001 MB / 0.9723 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.0433, allocations: 0.934 MB / 0.9732 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0047/0.048, allocations: 3.668 MB / 0.9768 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004129/0.05213, allocations: 2.454 MB / 0.9792 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003923/0.05606, allocations: 2.273 MB / 0.9814 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002869/0.05893, allocations: 1.683 MB / 0.9831 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007759/0.0597, allocations: 340 kB / 0.9834 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.06159, allocations: 0.7565 MB / 0.9841 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00198/0.06357, allocations: 1.423 MB / 0.9855 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.06564, allocations: 1.014 MB / 0.9865 GB, free: 7 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006335/0.07197, allocations: 5.24 MB / 0.9916 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.07198, allocations: 8 kB / 0.9916 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.492e-06/0.07198, allocations: 0 / 0.9916 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.168e-05/0.07204, allocations: 0 / 0.9916 GB, free: 1.738 MB / 0.8887 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.00507/0.07711, allocations: 2.615 MB / 0.9942 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.07715, allocations: 12.03 kB / 0.9942 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.08136, allocations: 0.8499 MB / 0.995 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.08427, allocations: 1.531 MB / 0.9965 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.08443, allocations: 177.1 kB / 0.9967 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004183/0.08485, allocations: 236.3 kB / 0.9969 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.09546, allocations: 4.262 MB / 1.001 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.022e-05/0.09554, allocations: 8.125 kB / 1.001 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/0.09585, allocations: 96.36 kB / 1.001 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002326/0.09609, allocations: 176.5 kB / 1.001 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009571/0.1057, allocations: 3.628 MB / 1.005 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01873/0.1244, allocations: 10.46 MB / 1.015 GB, free: 9.117 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.1276, allocations: 1.454 MB / 1.017 GB, free: 7.641 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008927/0.1285, allocations: 0.5509 MB / 1.017 GB, free: 7.082 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.1286, allocations: 24.52 kB / 1.017 GB, free: 7.059 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.1287, allocations: 39.22 kB / 1.017 GB, free: 7.008 MB / 0.92 GB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.1287, allocations: 0 / 1.017 GB, free: 7.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.005721/0.1344, allocations: 3.197 MB / 1.02 GB, free: 3.789 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.1345, allocations: 115.5 kB / 1.02 GB, free: 3.652 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.1358, allocations: 1.036 MB / 1.021 GB, free: 2.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.1359, allocations: 41.77 kB / 1.021 GB, free: 2.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008097/0.1367, allocations: 1.142 MB / 1.023 GB, free: 1.387 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.1369, allocations: 289.6 kB / 1.023 GB, free: 1.102 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004095/0.1373, allocations: 271.4 kB / 1.023 GB, free: 0.832 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.1376, allocations: 414.7 kB / 1.023 GB, free: 428 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009862/0.1386, allocations: 0.6128 MB / 1.024 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.14, allocations: 1.189 MB / 1.025 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002483/0.1425, allocations: 1.864 MB / 1.027 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.1425, allocations: 4 kB / 1.027 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003361/0.1459, allocations: 2.031 MB / 1.029 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.1459, allocations: 12 kB / 1.029 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.1459, allocations: 23.94 kB / 1.029 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/0.1464, allocations: 163.3 kB / 1.029 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.1476, allocations: 343.4 kB / 1.03 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-05/0.1477, allocations: 39.86 kB / 1.03 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.1487, allocations: 135.8 kB / 1.03 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.1488, allocations: 68 kB / 1.03 GB, free: 9.387 MB / 0.9356 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.00142/0.1502, allocations: 0.9771 MB / 1.031 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.1504, allocations: 111.3 kB / 1.031 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.1527, allocations: 1.232 MB / 1.032 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.1527, allocations: 11.98 kB / 1.032 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1527, allocations: 0 / 1.032 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.1527, allocations: 7.984 kB / 1.032 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004885/0.1576, allocations: 2.881 MB / 1.035 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.1576, allocations: 4 kB / 1.035 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/0.1582, allocations: 160 kB / 1.035 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003735/0.1586, allocations: 139.3 kB / 1.035 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.1587, allocations: 16 kB / 1.035 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.1587, allocations: 4 kB / 1.035 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.1587, allocations: 7.938 kB / 1.035 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.1609, allocations: 1.466 MB / 1.037 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.1613, allocations: 195.3 kB / 1.037 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.1615, allocations: 23.95 kB / 1.037 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.1621, allocations: 67.89 kB / 1.037 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.1623, allocations: 68.42 kB / 1.037 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/0.1623, allocations: 20 kB / 1.037 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001498/0.1638, allocations: 0.6871 MB / 1.038 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1638, allocations: 0 / 1.038 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002285/0.1661, allocations: 384 kB / 1.038 GB, free: 0.7539 MB / 0.9356 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.0003097/0.1664, allocations: 135 kB / 1.038 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00263/0.1691, allocations: 1.356 MB / 1.039 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1691, allocations: 192 / 1.039 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000883/0.1699, allocations: 0.5417 MB / 1.04 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.1714, allocations: 260.2 kB / 1.04 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/0.1776, allocations: 3.791 MB / 1.044 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/0.1793, allocations: 1.336 MB / 1.045 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001056/0.1803, allocations: 461.2 kB / 1.046 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.1806, allocations: 84.44 kB / 1.046 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of SimCode: time 9.92e-07/0.1806, allocations: 0 / 1.046 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of Templates: time 0.0262/0.2068, allocations: 12.79 MB / 1.058 GB, free: 12.19 MB / 0.9669 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.339827556163073]