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.001693/0.001693, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001945/0.001945, allocations: 198.6 kB / 22.17 MB, free: 5.207 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.481/1.481, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.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.89/2.89, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 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.002224/0.002224, allocations: 67.89 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.7983, allocations: 168.7 MB / 1.274 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02885/0.8272, allocations: 21.58 MB / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.8427, allocations: 7.947 MB / 1.303 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.8447, allocations: 63.81 kB / 1.303 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004295/0.849, allocations: 1.394 MB / 1.304 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.8521, allocations: 1.019 MB / 1.305 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005496/0.8576, allocations: 2.091 MB / 1.307 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005927/0.8635, allocations: 4.323 MB / 1.312 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005923/0.8694, allocations: 2.953 MB / 1.314 GB, free: 10.96 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.8725, allocations: 1.862 MB / 1.316 GB, free: 9.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004261/0.8768, allocations: 2.325 MB / 1.319 GB, free: 6.758 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.8779, allocations: 428 kB / 1.319 GB, free: 6.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.8803, allocations: 0.9557 MB / 1.32 GB, free: 5.383 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002553/0.8829, allocations: 1.692 MB / 1.322 GB, free: 3.688 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003556/0.8864, allocations: 1.716 MB / 1.323 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008164/0.8946, allocations: 6.199 MB / 1.329 GB, free: 11.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8946, allocations: 3.938 kB / 1.329 GB, free: 11.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8946, allocations: 0 / 1.329 GB, free: 11.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001867/0.8948, allocations: 0 / 1.329 GB, free: 11.74 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.008409/0.9032, allocations: 3.114 MB / 1.332 GB, free: 8.562 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.9032, allocations: 12.03 kB / 1.332 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003995/0.9072, allocations: 0.7639 MB / 1.333 GB, free: 7.785 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/0.9112, allocations: 1.579 MB / 1.335 GB, free: 6.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.9114, allocations: 214.2 kB / 1.335 GB, free: 5.949 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006594/0.9121, allocations: 284.3 kB / 1.335 GB, free: 5.672 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009643/0.9217, allocations: 5.094 MB / 1.34 GB, free: 400 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.784e-05/0.9218, allocations: 7.938 kB / 1.34 GB, free: 392 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/0.9222, allocations: 124 kB / 1.34 GB, free: 268 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002683/0.9224, allocations: 204.6 kB / 1.34 GB, free: 60 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007809/0.9302, allocations: 4.224 MB / 1.345 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0319/0.9621, allocations: 22.95 MB / 1.367 GB, free: 2.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.9654, allocations: 1.657 MB / 1.369 GB, free: 1.039 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.9675, allocations: 1.09 MB / 1.37 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.9678, allocations: 105.7 kB / 1.37 GB, free: 15.81 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.9679, allocations: 43.16 kB / 1.37 GB, free: 15.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=84): time 3.617e-06/0.9679, allocations: 0 / 1.37 GB, free: 15.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=87): time 0.008751/0.9766, allocations: 4.114 MB / 1.374 GB, free: 11.63 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.9767, allocations: 137.2 kB / 1.374 GB, free: 11.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.9782, allocations: 0.8721 MB / 1.375 GB, free: 10.58 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.9784, allocations: 41.7 kB / 1.375 GB, free: 10.53 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.9794, allocations: 1.201 MB / 1.376 GB, free: 9.316 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/0.9799, allocations: 325.2 kB / 1.376 GB, free: 8.996 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005727/0.9805, allocations: 278.7 kB / 1.377 GB, free: 8.719 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.00024/0.9807, allocations: 414.6 kB / 1.377 GB, free: 8.305 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.9822, allocations: 0.8179 MB / 1.378 GB, free: 7.484 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.9841, allocations: 1.31 MB / 1.379 GB, free: 5.953 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/0.9875, allocations: 2.175 MB / 1.381 GB, free: 3.582 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.9875, allocations: 4 kB / 1.381 GB, free: 3.578 MB / 1.076 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004096/0.9916, allocations: 2.211 MB / 1.383 GB, free: 1.363 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.9917, allocations: 12 kB / 1.383 GB, free: 1.352 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.9917, allocations: 15.98 kB / 1.383 GB, free: 1.336 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.926e-05/0.9917, allocations: 20.78 kB / 1.383 GB, free: 1.316 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.9936, allocations: 419.3 kB / 1.384 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.129e-05/0.9936, allocations: 31.86 kB / 1.384 GB, free: 0.875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.9951, allocations: 211.4 kB / 1.384 GB, free: 0.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.9953, allocations: 63.98 kB / 1.384 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003218/0.9985, allocations: 1.681 MB / 1.386 GB, free: 14.92 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001797/1, allocations: 1.186 MB / 1.387 GB, free: 13.5 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003007/1.003, allocations: 1.906 MB / 1.389 GB, free: 11.39 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-05/1.003, allocations: 7.938 kB / 1.389 GB, free: 11.38 MB / 1.092 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003761/1.007, allocations: 1.923 MB / 1.391 GB, free: 9.445 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.007, allocations: 16.06 kB / 1.391 GB, free: 9.43 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/1.007, allocations: 19.94 kB / 1.391 GB, free: 9.41 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/1.007, allocations: 20 kB / 1.391 GB, free: 9.391 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/1.009, allocations: 371.3 kB / 1.391 GB, free: 9.027 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.091e-05/1.009, allocations: 27.94 kB / 1.391 GB, free: 9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.01, allocations: 187.4 kB / 1.391 GB, free: 8.816 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/1.01, allocations: 55.98 kB / 1.391 GB, free: 8.762 MB / 1.092 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.000471/1.011, allocations: 271.7 kB / 1.392 GB, free: 8.488 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/1.011, allocations: 107.3 kB / 1.392 GB, free: 8.383 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003348/1.014, allocations: 1.854 MB / 1.393 GB, free: 6.52 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/1.014, allocations: 8 kB / 1.393 GB, free: 6.512 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.015, allocations: 4 kB / 1.393 GB, free: 6.508 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/1.015, allocations: 7.984 kB / 1.393 GB, free: 6.5 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/1.031, allocations: 9.585 MB / 1.403 GB, free: 12.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.489e-05/1.031, allocations: 12.19 kB / 1.403 GB, free: 12.65 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/1.032, allocations: 315.5 kB / 1.403 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.683e-05/1.032, allocations: 16 kB / 1.403 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.032, allocations: 28 kB / 1.403 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.968e-05/1.032, allocations: 27.86 kB / 1.403 GB, free: 12.27 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/1.032, allocations: 15.94 kB / 1.403 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/1.036, allocations: 2.414 MB / 1.406 GB, free: 9.676 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009146/1.037, allocations: 380.1 kB / 1.406 GB, free: 9.285 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/1.037, allocations: 31.98 kB / 1.406 GB, free: 9.254 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.038, allocations: 139.7 kB / 1.406 GB, free: 9.117 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.039, allocations: 99.61 kB / 1.406 GB, free: 9.02 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/1.039, allocations: 36 kB / 1.406 GB, free: 8.984 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001212/1.04, allocations: 0.6122 MB / 1.407 GB, free: 8.375 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.04, allocations: 0 / 1.407 GB, free: 8.375 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003036/1.043, allocations: 0.7539 MB / 1.408 GB, free: 7.621 MB / 1.107 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.0002898/1.043, allocations: 143.5 kB / 1.408 GB, free: 7.473 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005129/1.048, allocations: 2.76 MB / 1.41 GB, free: 4.723 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.048, allocations: 0 / 1.41 GB, free: 4.723 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/1.05, allocations: 0.8936 MB / 1.411 GB, free: 3.832 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/1.052, allocations: 308.8 kB / 1.412 GB, free: 3.547 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009826/1.062, allocations: 5.061 MB / 1.416 GB, free: 14.3 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003002/1.065, allocations: 2.127 MB / 1.419 GB, free: 12.13 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002133/1.067, allocations: 0.7422 MB / 1.419 GB, free: 11.39 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/1.067, allocations: 87.41 kB / 1.419 GB, free: 11.3 MB / 1.123 GB Notification: Performance of SimCode: time 9.61e-07/1.067, allocations: 0 / 1.419 GB, free: 11.3 MB / 1.123 GB Notification: Performance of Templates: time 0.03559/1.103, allocations: 18.82 MB / 1.438 GB, free: 8.629 MB / 1.139 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.472196504008025]