Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.002071/0.002071, allocations: 82.05 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.002781/0.002781, allocations: 165.3 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.78/1.78, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.985/2.985, allocations: 389 MB / 0.633 GB, free: 0.9922 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.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.884e-05/4.117e-05, allocations: 2.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0271/0.02714, allocations: 19.56 MB / 1.019 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.04267, allocations: 7.568 MB / 1.027 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.04541, allocations: 75.62 kB / 1.027 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004415/0.04983, allocations: 1.375 MB / 1.028 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003532/0.05336, allocations: 1.03 MB / 1.029 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005805/0.05917, allocations: 2.017 MB / 1.031 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006574/0.06574, allocations: 4.389 MB / 1.035 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006979/0.07272, allocations: 3.011 MB / 1.038 GB, free: 104 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006189/0.07891, allocations: 2.647 MB / 1.041 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004555/0.08346, allocations: 2.081 MB / 1.043 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001503/0.08497, allocations: 424 kB / 1.043 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.088, allocations: 0.897 MB / 1.044 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003331/0.09133, allocations: 1.773 MB / 1.046 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003254/0.09459, allocations: 1.212 MB / 1.047 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008195/0.1028, allocations: 6.358 MB / 1.053 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1028, allocations: 3.938 kB / 1.053 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.415e-06/0.1028, allocations: 0 / 1.053 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001833/0.103, allocations: 0 / 1.053 GB, free: 0.6797 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007731/0.1107, allocations: 3.011 MB / 1.056 GB, free: 13.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.1108, allocations: 12.03 kB / 1.056 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.1147, allocations: 0.7678 MB / 1.057 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003319/0.1181, allocations: 1.541 MB / 1.058 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.1182, allocations: 218.2 kB / 1.059 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005316/0.1188, allocations: 284.3 kB / 1.059 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.129, allocations: 5.312 MB / 1.064 GB, free: 5.207 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/0.1291, allocations: 20 kB / 1.064 GB, free: 5.188 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004827/0.1296, allocations: 124.3 kB / 1.064 GB, free: 5.066 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003457/0.13, allocations: 212.6 kB / 1.064 GB, free: 4.855 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008458/0.1384, allocations: 4.208 MB / 1.069 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02525/0.1637, allocations: 14.35 MB / 1.083 GB, free: 1.824 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.1668, allocations: 1.649 MB / 1.084 GB, free: 140 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.1687, allocations: 1.075 MB / 1.085 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.1688, allocations: 24.64 kB / 1.085 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.1689, allocations: 47.16 kB / 1.085 GB, free: 14.97 MB / 1.045 GB Notification: Performance of pre-optimization done (n=84): time 2.905e-06/0.1689, allocations: 0 / 1.085 GB, free: 14.97 MB / 1.045 GB Notification: Performance of matching and sorting (n=87): time 0.007842/0.1767, allocations: 4.106 MB / 1.089 GB, free: 10.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.1769, allocations: 145.1 kB / 1.089 GB, free: 10.67 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.1782, allocations: 0.797 MB / 1.09 GB, free: 9.859 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.1783, allocations: 41.7 kB / 1.09 GB, free: 9.812 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009501/0.1793, allocations: 1.209 MB / 1.091 GB, free: 8.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.1797, allocations: 321.3 kB / 1.092 GB, free: 8.273 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/0.1802, allocations: 274.8 kB / 1.092 GB, free: 8 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002348/0.1804, allocations: 390.8 kB / 1.092 GB, free: 7.609 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.182, allocations: 0.8218 MB / 1.093 GB, free: 6.781 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.1841, allocations: 1.544 MB / 1.095 GB, free: 4.957 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.1875, allocations: 2.163 MB / 1.097 GB, free: 2.605 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/0.1875, allocations: 4 kB / 1.097 GB, free: 2.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004211/0.1917, allocations: 2.211 MB / 1.099 GB, free: 388 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.1918, allocations: 18.53 kB / 1.099 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/0.1918, allocations: 12 kB / 1.099 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.702e-05/0.1919, allocations: 20 kB / 1.099 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.1937, allocations: 419.2 kB / 1.099 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.627e-05/0.1937, allocations: 27.92 kB / 1.099 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.1953, allocations: 219.4 kB / 1.1 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.1954, allocations: 63.98 kB / 1.1 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003106/0.1985, allocations: 1.677 MB / 1.101 GB, free: 13.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001912/0.2004, allocations: 1.419 MB / 1.103 GB, free: 12.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002974/0.2034, allocations: 1.902 MB / 1.105 GB, free: 10.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.471e-05/0.2034, allocations: 8 kB / 1.105 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003617/0.2071, allocations: 1.918 MB / 1.107 GB, free: 8.184 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.2071, allocations: 15.94 kB / 1.107 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/0.2071, allocations: 15.98 kB / 1.107 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.2071, allocations: 24.94 kB / 1.107 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.2086, allocations: 371.4 kB / 1.107 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.592e-05/0.2087, allocations: 35.86 kB / 1.107 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.2101, allocations: 175.5 kB / 1.107 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.2102, allocations: 63.98 kB / 1.107 GB, free: 7.496 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004308/0.2106, allocations: 260.4 kB / 1.107 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/0.211, allocations: 107.3 kB / 1.108 GB, free: 7.129 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.2143, allocations: 1.845 MB / 1.109 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.2143, allocations: 8 kB / 1.109 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.2143, allocations: 4 kB / 1.109 GB, free: 5.258 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2143, allocations: 3.984 kB / 1.109 GB, free: 5.254 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.2295, allocations: 8.578 MB / 1.118 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-05/0.2295, allocations: 16.25 kB / 1.118 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.2309, allocations: 307.5 kB / 1.118 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-05/0.2309, allocations: 16 kB / 1.118 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.231, allocations: 28 kB / 1.118 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-05/0.231, allocations: 27.86 kB / 1.118 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-05/0.2311, allocations: 15.94 kB / 1.118 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.2346, allocations: 2.376 MB / 1.12 GB, free: 9.543 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007756/0.2354, allocations: 303 kB / 1.121 GB, free: 9.246 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.2357, allocations: 31.94 kB / 1.121 GB, free: 9.215 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.2368, allocations: 143.8 kB / 1.121 GB, free: 9.074 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.2371, allocations: 99.56 kB / 1.121 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.63e-05/0.2372, allocations: 32 kB / 1.121 GB, free: 8.945 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009803/0.2382, allocations: 0.5497 MB / 1.122 GB, free: 8.402 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.2382, allocations: 0 / 1.122 GB, free: 8.402 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003234/0.2414, allocations: 0.75 MB / 1.122 GB, free: 7.652 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003331/0.2417, allocations: 142.9 kB / 1.122 GB, free: 7.504 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005195/0.2469, allocations: 2.752 MB / 1.125 GB, free: 4.758 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.2469, allocations: 4 kB / 1.125 GB, free: 4.754 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.2484, allocations: 0.8954 MB / 1.126 GB, free: 3.859 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.2504, allocations: 299.3 kB / 1.126 GB, free: 3.578 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.545/0.7954, allocations: 5.024 MB / 1.131 GB, free: 160.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.7971, allocations: 1.547 MB / 1.133 GB, free: 160.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001723/0.7988, allocations: 0.7506 MB / 1.133 GB, free: 160.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.7992, allocations: 80.81 kB / 1.134 GB, free: 160.4 MB / 1.076 GB Notification: Performance of SimCode: time 1.142e-06/0.7992, allocations: 3.156 kB / 1.134 GB, free: 160.4 MB / 1.076 GB Notification: Performance of Templates: time 0.02768/0.8269, allocations: 17.22 MB / 1.15 GB, free: 158.9 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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: 10.202289253473282]