Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001362/0.001362, allocations: 113.8 kB / 17.61 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.001395/0.001395, allocations: 186 kB / 20.78 MB, free: 1.547 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.442/1.442, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 71.88 kB / 1.107 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9686/0.9707, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02523/0.9959, allocations: 21.58 MB / 1.293 GB, free: 9.859 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01594/1.012, allocations: 7.949 MB / 1.301 GB, free: 4.562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/1.014, allocations: 61.62 kB / 1.301 GB, free: 4.551 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004441/1.019, allocations: 1.399 MB / 1.302 GB, free: 3.738 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003298/1.022, allocations: 1.015 MB / 1.303 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005818/1.028, allocations: 2.09 MB / 1.305 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007108/1.035, allocations: 4.328 MB / 1.309 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007286/1.042, allocations: 2.948 MB / 1.312 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005045/1.047, allocations: 1.87 MB / 1.314 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005756/1.053, allocations: 2.317 MB / 1.316 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001601/1.054, allocations: 427.3 kB / 1.317 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/1.058, allocations: 0.9671 MB / 1.318 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003474/1.061, allocations: 1.695 MB / 1.319 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004666/1.066, allocations: 1.709 MB / 1.321 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/1.077, allocations: 6.204 MB / 1.327 GB, free: 8.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.077, allocations: 0 / 1.327 GB, free: 8.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/1.077, allocations: 0 / 1.327 GB, free: 8.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002286/1.077, allocations: 1.188 kB / 1.327 GB, free: 8.84 MB / 1.029 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.01207/1.089, allocations: 3.12 MB / 1.33 GB, free: 7.043 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.089, allocations: 9.125 kB / 1.33 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/1.094, allocations: 0.7636 MB / 1.331 GB, free: 6.855 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004357/1.099, allocations: 1.57 MB / 1.333 GB, free: 5.992 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/1.099, allocations: 219.6 kB / 1.333 GB, free: 5.891 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001385/1.1, allocations: 285.8 kB / 1.333 GB, free: 5.797 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01436/1.115, allocations: 5.087 MB / 1.338 GB, free: 3.062 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/1.115, allocations: 8.594 kB / 1.338 GB, free: 3.059 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009829/1.116, allocations: 128.4 kB / 1.338 GB, free: 2.961 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/1.116, allocations: 206 kB / 1.338 GB, free: 2.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009328/1.125, allocations: 4.226 MB / 1.342 GB, free: 0.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03303/1.158, allocations: 22.95 MB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/1.162, allocations: 1.659 MB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/1.164, allocations: 1.079 MB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/1.164, allocations: 114.3 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/1.164, allocations: 39.59 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=84): time 3.287e-06/1.164, allocations: 0 / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=87): time 0.009779/1.174, allocations: 4.117 MB / 1.372 GB, free: 7.516 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.174, allocations: 142.9 kB / 1.372 GB, free: 7.352 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/1.176, allocations: 0.8674 MB / 1.373 GB, free: 6.852 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/1.176, allocations: 42.58 kB / 1.373 GB, free: 6.809 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.177, allocations: 1.203 MB / 1.374 GB, free: 5.746 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/1.177, allocations: 318.5 kB / 1.374 GB, free: 5.473 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000556/1.178, allocations: 275.7 kB / 1.374 GB, free: 5.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002677/1.178, allocations: 411.6 kB / 1.375 GB, free: 4.934 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/1.18, allocations: 0.8293 MB / 1.376 GB, free: 4.496 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/1.182, allocations: 1.308 MB / 1.377 GB, free: 3.426 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/1.185, allocations: 2.169 MB / 1.379 GB, free: 1.934 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.185, allocations: 3.906 kB / 1.379 GB, free: 1.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00405/1.189, allocations: 2.215 MB / 1.381 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/1.189, allocations: 11 kB / 1.381 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/1.189, allocations: 16.03 kB / 1.381 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/1.189, allocations: 20.62 kB / 1.381 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/1.191, allocations: 420.2 kB / 1.382 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.845e-05/1.191, allocations: 32.67 kB / 1.382 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/1.192, allocations: 214.3 kB / 1.382 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.193, allocations: 63.08 kB / 1.382 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003234/1.196, allocations: 1.679 MB / 1.384 GB, free: 15.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001724/1.198, allocations: 1.199 MB / 1.385 GB, free: 14.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002702/1.2, allocations: 1.894 MB / 1.387 GB, free: 12.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.989e-06/1.2, allocations: 7.938 kB / 1.387 GB, free: 12.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003445/1.204, allocations: 1.934 MB / 1.389 GB, free: 10.24 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.204, allocations: 14.5 kB / 1.389 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.204, allocations: 16 kB / 1.389 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.204, allocations: 20 kB / 1.389 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.205, allocations: 367.3 kB / 1.389 GB, free: 9.836 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.087e-05/1.205, allocations: 27.94 kB / 1.389 GB, free: 9.809 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/1.207, allocations: 183.5 kB / 1.389 GB, free: 9.629 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/1.207, allocations: 60 kB / 1.389 GB, free: 9.57 MB / 1.076 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.0004254/1.207, allocations: 267.7 kB / 1.389 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/1.207, allocations: 111.3 kB / 1.39 GB, free: 9.191 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/1.211, allocations: 1.854 MB / 1.391 GB, free: 7.328 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.211, allocations: 12 kB / 1.391 GB, free: 7.316 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.211, allocations: 0 / 1.391 GB, free: 7.316 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/1.211, allocations: 7.984 kB / 1.391 GB, free: 7.309 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/1.226, allocations: 9.585 MB / 1.401 GB, free: 13.47 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/1.226, allocations: 16.03 kB / 1.401 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.227, allocations: 315.4 kB / 1.401 GB, free: 13.15 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-05/1.227, allocations: 16 kB / 1.401 GB, free: 13.13 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.608e-05/1.227, allocations: 28 kB / 1.401 GB, free: 13.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.42e-05/1.227, allocations: 27.86 kB / 1.401 GB, free: 13.08 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/1.227, allocations: 15.94 kB / 1.401 GB, free: 13.06 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/1.23, allocations: 2.414 MB / 1.403 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007463/1.231, allocations: 384.1 kB / 1.404 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/1.231, allocations: 36.12 kB / 1.404 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.232, allocations: 147.7 kB / 1.404 GB, free: 9.91 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/1.232, allocations: 95.55 kB / 1.404 GB, free: 9.816 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/1.232, allocations: 36 kB / 1.404 GB, free: 9.781 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009812/1.233, allocations: 0.6122 MB / 1.405 GB, free: 9.172 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.233, allocations: 0 / 1.405 GB, free: 9.172 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002899/1.236, allocations: 0.7539 MB / 1.405 GB, free: 8.418 MB / 1.092 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.0002474/1.237, allocations: 147.5 kB / 1.406 GB, free: 8.266 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004516/1.241, allocations: 2.756 MB / 1.408 GB, free: 5.516 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.241, allocations: 1.312 kB / 1.408 GB, free: 5.516 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/1.242, allocations: 0.892 MB / 1.409 GB, free: 4.625 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/1.244, allocations: 309.5 kB / 1.409 GB, free: 4.344 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008929/1.253, allocations: 5.055 MB / 1.414 GB, free: 15.1 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/1.256, allocations: 2.131 MB / 1.416 GB, free: 12.93 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002054/1.258, allocations: 0.7461 MB / 1.417 GB, free: 12.18 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/1.258, allocations: 87.41 kB / 1.417 GB, free: 12.1 MB / 1.107 GB Notification: Performance of SimCode: time 1.262e-06/1.258, allocations: 0 / 1.417 GB, free: 12.1 MB / 1.107 GB Notification: Performance of Templates: time 0.03373/1.292, allocations: 18.82 MB / 1.436 GB, free: 9.426 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.558844699524343]