Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001355/0.001355, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001474/0.001474, allocations: 159.1 kB / 22.46 MB, free: 5.375 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.425/1.425, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.945/2.945, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 1 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.198e-05, allocations: 6.219 kB / 1 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02177/0.02181, allocations: 15.18 MB / 1.015 GB, free: 6.977 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00981/0.03162, allocations: 4.73 MB / 1.02 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.033, allocations: 87.38 kB / 1.02 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.03649, allocations: 1.056 MB / 1.021 GB, free: 1.086 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.03895, allocations: 0.7924 MB / 1.021 GB, free: 296 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.04174, allocations: 0.9309 MB / 1.022 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005123/0.04687, allocations: 3.679 MB / 1.026 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004678/0.05155, allocations: 2.43 MB / 1.028 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004986/0.05653, allocations: 2.281 MB / 1.031 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003376/0.05991, allocations: 1.684 MB / 1.032 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006494/0.06056, allocations: 340 kB / 1.033 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.0625, allocations: 0.7565 MB / 1.033 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001841/0.06434, allocations: 1.426 MB / 1.035 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001691/0.06603, allocations: 1.018 MB / 1.036 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007803/0.07384, allocations: 5.244 MB / 1.041 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.07384, allocations: 4 kB / 1.041 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.07385, allocations: 0 / 1.041 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000134/0.07398, allocations: 0 / 1.041 GB, free: 12.39 MB / 0.9512 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.006975/0.08096, allocations: 2.615 MB / 1.043 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.08101, allocations: 11.98 kB / 1.043 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004327/0.08534, allocations: 0.846 MB / 1.044 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/0.08901, allocations: 1.546 MB / 1.046 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.08919, allocations: 177.1 kB / 1.046 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005063/0.08969, allocations: 232.4 kB / 1.046 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008755/0.09845, allocations: 4.263 MB / 1.05 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.466e-05/0.09851, allocations: 8.078 kB / 1.05 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.0988, allocations: 100.4 kB / 1.05 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002557/0.09906, allocations: 172.5 kB / 1.05 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007335/0.1064, allocations: 3.628 MB / 1.054 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02022/0.1266, allocations: 10.44 MB / 1.064 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.13, allocations: 1.46 MB / 1.066 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000948/0.1309, allocations: 0.5514 MB / 1.066 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.1311, allocations: 16.64 kB / 1.066 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.1311, allocations: 47.16 kB / 1.066 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=72): time 3.156e-06/0.1311, allocations: 4 kB / 1.066 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.006409/0.1375, allocations: 3.209 MB / 1.069 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.1376, allocations: 115.5 kB / 1.07 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.1392, allocations: 1.044 MB / 1.071 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.1393, allocations: 33.7 kB / 1.071 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009621/0.1403, allocations: 1.146 MB / 1.072 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.1406, allocations: 281.6 kB / 1.072 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004717/0.141, allocations: 279.4 kB / 1.072 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0004776/0.1415, allocations: 410.7 kB / 1.073 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.1426, allocations: 0.6167 MB / 1.073 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.1442, allocations: 1.185 MB / 1.074 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002748/0.1469, allocations: 1.861 MB / 1.076 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/0.147, allocations: 8 kB / 1.076 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003979/0.1509, allocations: 2.023 MB / 1.078 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-05/0.151, allocations: 17.88 kB / 1.078 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/0.151, allocations: 20 kB / 1.078 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.1516, allocations: 163.3 kB / 1.078 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.1528, allocations: 343.4 kB / 1.079 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.311e-05/0.1529, allocations: 39.86 kB / 1.079 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.1541, allocations: 127.8 kB / 1.079 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.1542, allocations: 68 kB / 1.079 GB, free: 4.031 MB / 0.9825 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.001976/0.1562, allocations: 0.981 MB / 1.08 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.1565, allocations: 115.2 kB / 1.08 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.1592, allocations: 1.232 MB / 1.081 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.1592, allocations: 8 kB / 1.081 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.1592, allocations: 4 kB / 1.081 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.1592, allocations: 3.984 kB / 1.081 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005843/0.1651, allocations: 2.885 MB / 1.084 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.1651, allocations: 0 / 1.084 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/0.1657, allocations: 160 kB / 1.084 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.1662, allocations: 139.3 kB / 1.084 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.1663, allocations: 20 kB / 1.084 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.1663, allocations: 7.938 kB / 1.084 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1663, allocations: 4 kB / 1.084 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.1688, allocations: 1.466 MB / 1.086 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005809/0.1694, allocations: 195.3 kB / 1.086 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.1696, allocations: 23.98 kB / 1.086 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.1702, allocations: 67.84 kB / 1.086 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.1704, allocations: 60.48 kB / 1.086 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.1704, allocations: 20 kB / 1.086 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001187/0.1716, allocations: 0.6871 MB / 1.087 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.1716, allocations: 0 / 1.087 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001719/0.1733, allocations: 388 kB / 1.087 GB, free: 11.4 MB / 0.9981 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.0002864/0.1736, allocations: 131 kB / 1.087 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.1763, allocations: 1.356 MB / 1.089 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1763, allocations: 448 / 1.089 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.1773, allocations: 0.5417 MB / 1.089 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.179, allocations: 278.5 kB / 1.089 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007891/0.1868, allocations: 3.806 MB / 1.093 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/0.1889, allocations: 1.336 MB / 1.094 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001306/0.1902, allocations: 449.3 kB / 1.095 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.1904, allocations: 80.5 kB / 1.095 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/0.1904, allocations: 0 / 1.095 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of Templates: time 0.6333/0.8237, allocations: 12.77 MB / 1.107 GB, free: 101.7 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.368356432765722]