Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001219/0.001219, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001937/0.003157, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001148/0.001148, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002607, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9601/0.9601, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09044/1.051, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.816/1.816, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4797/2.295, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.41e-07/6.41e-07, allocations: 0 / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.484e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.005666/0.005681, allocations: 6.951 MB / 0.7364 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004239/0.00992, allocations: 2.582 MB / 0.739 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006048/0.01052, allocations: 71.31 kB / 0.739 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.01113, allocations: 358 kB / 0.7394 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.01235, allocations: 0.9754 MB / 0.7403 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.01317, allocations: 0.5615 MB / 0.7409 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001695/0.01486, allocations: 2.349 MB / 0.7432 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008499/0.01571, allocations: 1.019 MB / 0.7442 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.01714, allocations: 1.332 MB / 0.7455 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009394/0.01808, allocations: 0.9257 MB / 0.7464 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.0182, allocations: 112.8 kB / 0.7465 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.01863, allocations: 251.6 kB / 0.7467 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.01894, allocations: 0.5189 MB / 0.7472 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003641/0.0193, allocations: 455 kB / 0.7476 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.02026, allocations: 1.223 MB / 0.7488 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/0.02028, allocations: 0 / 0.7488 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.31e-07/0.02028, allocations: 0.6562 kB / 0.7488 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.0203, allocations: 0 / 0.7488 GB, free: 0.7422 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001581/0.02188, allocations: 2.002 MB / 0.7508 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.02191, allocations: 12.03 kB / 0.7508 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.02381, allocations: 0.8049 MB / 0.7516 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.02494, allocations: 0.8736 MB / 0.7524 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.02499, allocations: 91.52 kB / 0.7525 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.02511, allocations: 132.3 kB / 0.7527 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.02628, allocations: 1.592 MB / 0.7542 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.02631, allocations: 12.11 kB / 0.7542 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.02639, allocations: 57.86 kB / 0.7543 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/0.02651, allocations: 158.2 kB / 0.7544 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006603/0.02717, allocations: 0.5947 MB / 0.755 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005607/0.03278, allocations: 7.812 MB / 0.7626 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.03451, allocations: 1.354 MB / 0.764 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.03473, allocations: 156.8 kB / 0.7641 GB, free: 496 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.03483, allocations: 33.83 kB / 0.7641 GB, free: 464 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.03487, allocations: 39.56 kB / 0.7642 GB, free: 412 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=103): time 3.516e-06/0.03487, allocations: 1.688 kB / 0.7642 GB, free: 412 kB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.002196/0.03707, allocations: 1.287 MB / 0.7654 GB, free: 15.11 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.03711, allocations: 61.59 kB / 0.7655 GB, free: 15.04 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.03767, allocations: 0.7925 MB / 0.7663 GB, free: 14.22 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.03772, allocations: 45.7 kB / 0.7663 GB, free: 14.17 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009424/0.03866, allocations: 0.6588 MB / 0.767 GB, free: 13.5 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.03887, allocations: 400.5 kB / 0.7673 GB, free: 13.11 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.03911, allocations: 275.3 kB / 0.7676 GB, free: 12.84 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.03918, allocations: 305.1 kB / 0.7679 GB, free: 12.54 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.03937, allocations: 173.4 kB / 0.7681 GB, free: 12.37 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.03983, allocations: 0.676 MB / 0.7687 GB, free: 11.47 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008599/0.04069, allocations: 1.061 MB / 0.7698 GB, free: 10.21 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.0407, allocations: 5.188 kB / 0.7698 GB, free: 10.21 MB / 0.7449 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00116/0.04186, allocations: 1.058 MB / 0.7708 GB, free: 9.121 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.04188, allocations: 14.28 kB / 0.7708 GB, free: 9.109 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.0419, allocations: 20.78 kB / 0.7708 GB, free: 9.09 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000418/0.04232, allocations: 228.3 kB / 0.7711 GB, free: 8.84 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.04297, allocations: 355.5 kB / 0.7714 GB, free: 8.492 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/0.04768, allocations: 9.598 MB / 0.7808 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.04836, allocations: 47.94 kB / 0.7808 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.04843, allocations: 55.98 kB / 0.7809 GB, free: 14.04 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000332/0.04876, allocations: 211.1 kB / 0.7811 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.04889, allocations: 115.9 kB / 0.7812 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009307/0.04982, allocations: 0.7813 MB / 0.7819 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.04982, allocations: 12 kB / 0.7819 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.04983, allocations: 4 kB / 0.782 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.04984, allocations: 10 kB / 0.782 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.05177, allocations: 1.571 MB / 0.7835 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.05178, allocations: 8 kB / 0.7835 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004492/0.05223, allocations: 191.7 kB / 0.7837 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.05249, allocations: 172 kB / 0.7839 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003789/0.05287, allocations: 211 kB / 0.7841 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.05292, allocations: 27.75 kB / 0.7841 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004337/0.05725, allocations: 9.581 MB / 0.7934 GB, free: 228 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.05726, allocations: 4 kB / 0.7934 GB, free: 224 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.05843, allocations: 0.9595 MB / 0.7944 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.05856, allocations: 35.8 kB / 0.7944 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.05889, allocations: 28 kB / 0.7944 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.05902, allocations: 92.72 kB / 0.7945 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.05905, allocations: 28 kB / 0.7946 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002769/0.05933, allocations: 368.4 kB / 0.7949 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.91e-07/0.05933, allocations: 4 kB / 0.7949 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001073/0.0604, allocations: 388 kB / 0.7953 GB, free: 14.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001956/0.0606, allocations: 136.1 kB / 0.7954 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.06202, allocations: 1.656 MB / 0.797 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.72e-05/0.06207, allocations: 37.69 kB / 0.7971 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008898/0.06296, allocations: 1.3 MB / 0.7983 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.06481, allocations: 3.021 MB / 0.8013 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006606/0.07142, allocations: 2.569 MB / 0.8038 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.07168, allocations: 357.4 kB / 0.8041 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004648/0.07215, allocations: 171.2 kB / 0.8043 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.07265, allocations: 337.1 kB / 0.8046 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of SimCode: time 1.393e-06/0.07265, allocations: 0 / 0.8046 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of Templates: time 0.02289/0.09554, allocations: 19.06 MB / 0.8232 GB, free: 0.9844 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.221234493888915]