Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001968/0.001968, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002583/0.002583, allocations: 191.1 kB / 22.11 MB, free: 4.34 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.569/1.569, allocations: 225.6 MB / 250.8 MB, free: 2.922 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.973/2.973, allocations: 495.8 MB / 0.783 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.89 kB / 1.137 GB, free: 12.22 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9843/0.9864, allocations: 173.6 MB / 1.307 GB, free: 33.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01949/1.006, allocations: 21.42 MB / 1.328 GB, free: 19.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01294/1.019, allocations: 7.938 MB / 1.335 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/1.021, allocations: 72.34 kB / 1.335 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003669/1.025, allocations: 1.417 MB / 1.337 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002991/1.028, allocations: 1.012 MB / 1.338 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005734/1.033, allocations: 2.085 MB / 1.34 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005949/1.039, allocations: 4.338 MB / 1.344 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004926/1.044, allocations: 2.957 MB / 1.347 GB, free: 8.582 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003358/1.048, allocations: 1.888 MB / 1.349 GB, free: 7.723 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004094/1.052, allocations: 2.322 MB / 1.351 GB, free: 6.773 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001047/1.053, allocations: 427.6 kB / 1.352 GB, free: 6.773 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/1.055, allocations: 0.8918 MB / 1.352 GB, free: 6.602 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00209/1.057, allocations: 1.689 MB / 1.354 GB, free: 5.891 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002612/1.06, allocations: 1.716 MB / 1.356 GB, free: 4.766 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008748/1.069, allocations: 6.2 MB / 1.362 GB, free: 2.832 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.069, allocations: 0 / 1.362 GB, free: 2.832 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/1.069, allocations: 3.938 kB / 1.362 GB, free: 2.828 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001707/1.069, allocations: 1.125 kB / 1.362 GB, free: 2.828 MB / 1.061 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.008622/1.077, allocations: 3.045 MB / 1.365 GB, free: 1.125 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.077, allocations: 9.406 kB / 1.365 GB, free: 1.125 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004067/1.081, allocations: 0.7635 MB / 1.366 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/1.085, allocations: 1.539 MB / 1.367 GB, free: 144 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/1.085, allocations: 220.4 kB / 1.367 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007293/1.086, allocations: 281.9 kB / 1.368 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/1.098, allocations: 5.088 MB / 1.372 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.282e-05/1.098, allocations: 12.28 kB / 1.372 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004384/1.098, allocations: 120.4 kB / 1.373 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002919/1.099, allocations: 208.5 kB / 1.373 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009749/1.109, allocations: 4.222 MB / 1.377 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03348/1.142, allocations: 22.38 MB / 1.399 GB, free: 10.35 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003461/1.145, allocations: 1.657 MB / 1.4 GB, free: 9.785 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/1.147, allocations: 1.074 MB / 1.401 GB, free: 9.277 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/1.147, allocations: 26.41 kB / 1.401 GB, free: 9.266 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/1.147, allocations: 39.12 kB / 1.402 GB, free: 9.223 MB / 1.092 GB Notification: Performance of pre-optimization done (n=84): time 2.705e-06/1.147, allocations: 0.6562 kB / 1.402 GB, free: 9.223 MB / 1.092 GB Notification: Performance of matching and sorting (n=87): time 0.007068/1.155, allocations: 4.12 MB / 1.406 GB, free: 6.641 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.765e-05/1.155, allocations: 139.2 kB / 1.406 GB, free: 6.484 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/1.156, allocations: 0.8674 MB / 1.407 GB, free: 5.988 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.156, allocations: 41.92 kB / 1.407 GB, free: 5.945 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008611/1.157, allocations: 1.207 MB / 1.408 GB, free: 4.879 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003802/1.157, allocations: 327.8 kB / 1.408 GB, free: 4.598 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005063/1.158, allocations: 275.1 kB / 1.408 GB, free: 4.445 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002338/1.158, allocations: 407.6 kB / 1.409 GB, free: 4.062 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/1.159, allocations: 0.8251 MB / 1.409 GB, free: 3.633 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/1.161, allocations: 1.312 MB / 1.411 GB, free: 2.559 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/1.164, allocations: 2.161 MB / 1.413 GB, free: 1.074 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/1.164, allocations: 4.719 kB / 1.413 GB, free: 1.074 MB / 1.092 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003985/1.168, allocations: 2.22 MB / 1.415 GB, free: 15.92 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.168, allocations: 11.66 kB / 1.415 GB, free: 15.92 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/1.169, allocations: 14.31 kB / 1.415 GB, free: 15.92 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/1.169, allocations: 21.03 kB / 1.415 GB, free: 15.92 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/1.17, allocations: 416.3 kB / 1.416 GB, free: 15.79 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.34e-05/1.17, allocations: 29 kB / 1.416 GB, free: 15.78 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/1.172, allocations: 214.6 kB / 1.416 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/1.172, allocations: 62.05 kB / 1.416 GB, free: 15.65 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003081/1.175, allocations: 1.679 MB / 1.417 GB, free: 14.7 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001661/1.177, allocations: 1.194 MB / 1.419 GB, free: 13.66 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002844/1.18, allocations: 1.906 MB / 1.42 GB, free: 12.28 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.204e-05/1.18, allocations: 12.16 kB / 1.42 GB, free: 12.27 MB / 1.107 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003544/1.183, allocations: 1.923 MB / 1.422 GB, free: 11.29 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.183, allocations: 13.22 kB / 1.422 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/1.183, allocations: 14.97 kB / 1.422 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/1.183, allocations: 22.03 kB / 1.422 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/1.185, allocations: 373.3 kB / 1.423 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.249e-05/1.185, allocations: 32.73 kB / 1.423 GB, free: 11.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/1.186, allocations: 177.8 kB / 1.423 GB, free: 11.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.186, allocations: 63.55 kB / 1.423 GB, free: 11.05 MB / 1.107 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.0004811/1.187, allocations: 272.9 kB / 1.423 GB, free: 10.8 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/1.187, allocations: 103.5 kB / 1.423 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/1.19, allocations: 1.854 MB / 1.425 GB, free: 9.676 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.19, allocations: 9.719 kB / 1.425 GB, free: 9.676 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.19, allocations: 1 kB / 1.425 GB, free: 9.676 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.19, allocations: 8.906 kB / 1.425 GB, free: 9.668 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/1.205, allocations: 9.424 MB / 1.434 GB, free: 2.785 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/1.205, allocations: 12 kB / 1.434 GB, free: 2.773 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.207, allocations: 311.5 kB / 1.435 GB, free: 2.469 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.186e-05/1.207, allocations: 16 kB / 1.435 GB, free: 2.453 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.508e-05/1.207, allocations: 31.98 kB / 1.435 GB, free: 2.422 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.318e-05/1.207, allocations: 24.31 kB / 1.435 GB, free: 2.398 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-05/1.207, allocations: 23.88 kB / 1.435 GB, free: 2.375 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/1.21, allocations: 2.399 MB / 1.437 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007855/1.211, allocations: 307 kB / 1.437 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/1.211, allocations: 43.98 kB / 1.437 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.212, allocations: 143.7 kB / 1.438 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/1.212, allocations: 95.58 kB / 1.438 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.39e-05/1.213, allocations: 32 kB / 1.438 GB, free: 15.2 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001049/1.214, allocations: 0.6161 MB / 1.438 GB, free: 14.59 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.214, allocations: 0 / 1.438 GB, free: 14.59 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003092/1.217, allocations: 0.7578 MB / 1.439 GB, free: 13.83 MB / 1.123 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.0002687/1.217, allocations: 146.9 kB / 1.439 GB, free: 13.68 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004888/1.222, allocations: 2.753 MB / 1.442 GB, free: 10.93 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.222, allocations: 4.25 kB / 1.442 GB, free: 10.93 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/1.223, allocations: 0.8882 MB / 1.443 GB, free: 10.04 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/1.225, allocations: 318.7 kB / 1.443 GB, free: 9.75 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008839/1.234, allocations: 5.061 MB / 1.448 GB, free: 4.5 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/1.236, allocations: 2.12 MB / 1.45 GB, free: 2.348 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002076/1.238, allocations: 0.75 MB / 1.451 GB, free: 1.594 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/1.239, allocations: 83.42 kB / 1.451 GB, free: 1.512 MB / 1.123 GB Notification: Performance of SimCode: time 1.022e-06/1.239, allocations: 3.938 kB / 1.451 GB, free: 1.508 MB / 1.123 GB Notification: Performance of Templates: time 0.03613/1.275, allocations: 19.31 MB / 1.47 GB, free: 14.36 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.981557369232178]