Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 190.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 249.4 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 443.4 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.91 kB / 1.059 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3735, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02983/0.4034, allocations: 21.56 MB / 1.237 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.4193, allocations: 7.951 MB / 1.245 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002436/0.4218, allocations: 67.75 kB / 1.245 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004247/0.426, allocations: 1.407 MB / 1.246 GB, free: 296 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.4297, allocations: 1.023 MB / 1.247 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006517/0.4362, allocations: 2.072 MB / 1.249 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008785/0.445, allocations: 4.331 MB / 1.254 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006796/0.4518, allocations: 2.947 MB / 1.257 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.4555, allocations: 1.866 MB / 1.258 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004769/0.4602, allocations: 2.325 MB / 1.261 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.4614, allocations: 432 kB / 1.261 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.4638, allocations: 0.9635 MB / 1.262 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.7267/1.19, allocations: 1.687 MB / 1.264 GB, free: 19.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002584/1.193, allocations: 1.714 MB / 1.265 GB, free: 19.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009756/1.203, allocations: 6.203 MB / 1.271 GB, free: 19.06 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/1.203, allocations: 0 / 1.271 GB, free: 19.06 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/1.203, allocations: 0 / 1.271 GB, free: 19.06 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000289/1.203, allocations: 0 / 1.271 GB, free: 19.06 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.01056/1.214, allocations: 3.116 MB / 1.274 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/1.214, allocations: 9.656 kB / 1.274 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/1.218, allocations: 0.7648 MB / 1.275 GB, free: 17.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004148/1.222, allocations: 1.57 MB / 1.277 GB, free: 17.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/1.222, allocations: 222.2 kB / 1.277 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008654/1.223, allocations: 283.7 kB / 1.277 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/1.237, allocations: 5.077 MB / 1.282 GB, free: 16.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.131e-05/1.237, allocations: 11.55 kB / 1.282 GB, free: 16.76 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004714/1.237, allocations: 124.1 kB / 1.282 GB, free: 16.76 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004376/1.238, allocations: 211.6 kB / 1.282 GB, free: 16.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/1.248, allocations: 4.224 MB / 1.287 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03031/1.278, allocations: 22.96 MB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/1.282, allocations: 1.665 MB / 1.311 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/1.284, allocations: 1.083 MB / 1.312 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/1.284, allocations: 108.6 kB / 1.312 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/1.284, allocations: 44.97 kB / 1.312 GB, free: 14.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 2.595e-06/1.284, allocations: 0 / 1.312 GB, free: 14.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.007392/1.291, allocations: 4.117 MB / 1.316 GB, free: 12.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.291, allocations: 138.5 kB / 1.316 GB, free: 12.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/1.293, allocations: 0.8655 MB / 1.317 GB, free: 12.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/1.293, allocations: 46.39 kB / 1.317 GB, free: 12.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008529/1.294, allocations: 1.199 MB / 1.318 GB, free: 11.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/1.294, allocations: 323.7 kB / 1.318 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004977/1.295, allocations: 276.1 kB / 1.319 GB, free: 10.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002336/1.295, allocations: 404.7 kB / 1.319 GB, free: 10.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/1.296, allocations: 0.8256 MB / 1.32 GB, free: 10.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/1.298, allocations: 1.311 MB / 1.321 GB, free: 9.336 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/1.301, allocations: 2.169 MB / 1.323 GB, free: 8.145 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.301, allocations: 8.125 kB / 1.323 GB, free: 8.141 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00373/1.305, allocations: 2.215 MB / 1.325 GB, free: 7.391 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/1.305, allocations: 12.19 kB / 1.325 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/1.305, allocations: 14.16 kB / 1.325 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.798e-05/1.305, allocations: 25.77 kB / 1.325 GB, free: 7.387 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/1.307, allocations: 421.1 kB / 1.326 GB, free: 7.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.645e-05/1.307, allocations: 35.89 kB / 1.326 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/1.308, allocations: 219.9 kB / 1.326 GB, free: 7.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.309, allocations: 59.14 kB / 1.326 GB, free: 7.309 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002872/1.311, allocations: 1.679 MB / 1.328 GB, free: 6.668 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001567/1.313, allocations: 1.187 MB / 1.329 GB, free: 5.785 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002716/1.316, allocations: 1.902 MB / 1.331 GB, free: 4.672 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.979e-06/1.316, allocations: 3.875 kB / 1.331 GB, free: 4.672 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003476/1.319, allocations: 1.935 MB / 1.333 GB, free: 4.023 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.319, allocations: 12.06 kB / 1.333 GB, free: 4.023 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/1.319, allocations: 15.19 kB / 1.333 GB, free: 4.023 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/1.319, allocations: 23.52 kB / 1.333 GB, free: 4.023 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/1.321, allocations: 364.9 kB / 1.333 GB, free: 4.012 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-05/1.321, allocations: 31.84 kB / 1.333 GB, free: 4.012 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.322, allocations: 183.7 kB / 1.333 GB, free: 3.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/1.322, allocations: 57.34 kB / 1.333 GB, free: 3.953 MB / 1.014 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.0005025/1.323, allocations: 267.9 kB / 1.334 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/1.323, allocations: 104.3 kB / 1.334 GB, free: 3.672 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/1.326, allocations: 1.858 MB / 1.335 GB, free: 2.973 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.326, allocations: 10.89 kB / 1.335 GB, free: 2.973 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.326, allocations: 1.188 kB / 1.335 GB, free: 2.973 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.326, allocations: 4.906 kB / 1.335 GB, free: 2.973 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/1.343, allocations: 9.594 MB / 1.345 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.531e-05/1.343, allocations: 10.91 kB / 1.345 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.345, allocations: 313 kB / 1.345 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.497e-05/1.345, allocations: 16.09 kB / 1.345 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.432e-05/1.345, allocations: 32.25 kB / 1.345 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-05/1.345, allocations: 22.98 kB / 1.345 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.856e-05/1.345, allocations: 23.62 kB / 1.345 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/1.348, allocations: 2.409 MB / 1.348 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008573/1.349, allocations: 380.1 kB / 1.348 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.349, allocations: 33.97 kB / 1.348 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.35, allocations: 143.9 kB / 1.348 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/1.351, allocations: 98.02 kB / 1.348 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.538e-05/1.351, allocations: 34.23 kB / 1.348 GB, free: 11.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001072/1.352, allocations: 0.6131 MB / 1.349 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/1.352, allocations: 3.656 kB / 1.349 GB, free: 10.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003225/1.355, allocations: 0.7572 MB / 1.35 GB, free: 10.64 MB / 1.029 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.0002958/1.355, allocations: 147.3 kB / 1.35 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004624/1.36, allocations: 2.75 MB / 1.352 GB, free: 9.289 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.36, allocations: 1.375 kB / 1.352 GB, free: 9.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/1.361, allocations: 0.8938 MB / 1.353 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.363, allocations: 303.9 kB / 1.354 GB, free: 8.738 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/1.374, allocations: 5.068 MB / 1.359 GB, free: 5.785 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002226/1.376, allocations: 2.128 MB / 1.361 GB, free: 4.363 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001906/1.378, allocations: 0.7456 MB / 1.361 GB, free: 4.066 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/1.378, allocations: 85.33 kB / 1.361 GB, free: 4.051 MB / 1.029 GB Notification: Performance of SimCode: time 1.563e-06/1.378, allocations: 0 / 1.361 GB, free: 4.051 MB / 1.029 GB Notification: Performance of Templates: time 0.03618/1.414, allocations: 18.82 MB / 1.38 GB, free: 3.77 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.152260242030025]