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.0009321/0.0009321, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001728/0.00266, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008842/0.0008842, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002084, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9076/0.9076, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1074/1.015, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.803/1.803, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4946/2.298, allocations: 123.3 MB / 0.728 GB, free: 5.809 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 1.452e-06/1.452e-06, allocations: 0 / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.281e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008724/0.008746, allocations: 6.934 MB / 0.7361 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005277/0.01402, allocations: 2.594 MB / 0.7386 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.01492, allocations: 67.38 kB / 0.7387 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.01572, allocations: 357.9 kB / 0.739 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.01757, allocations: 0.9754 MB / 0.74 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.01858, allocations: 0.5572 MB / 0.7405 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002393/0.02098, allocations: 2.353 MB / 0.7428 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.02212, allocations: 1.015 MB / 0.7438 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.02385, allocations: 1.344 MB / 0.7451 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.02501, allocations: 0.9221 MB / 0.746 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.02518, allocations: 116 kB / 0.7462 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005249/0.02571, allocations: 245.3 kB / 0.7464 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005377/0.02624, allocations: 0.5142 MB / 0.7469 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.02672, allocations: 459 kB / 0.7473 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.02794, allocations: 1.222 MB / 0.7485 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-05/0.02796, allocations: 2.75 kB / 0.7485 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.944e-06/0.02796, allocations: 0 / 0.7485 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.248e-05/0.02801, allocations: 0 / 0.7485 GB, free: 0.8438 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.001927/0.02994, allocations: 1.997 MB / 0.7505 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.02997, allocations: 8.031 kB / 0.7505 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.03201, allocations: 0.8049 MB / 0.7513 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.03313, allocations: 0.8787 MB / 0.7521 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/0.03318, allocations: 98.89 kB / 0.7522 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.03331, allocations: 128.3 kB / 0.7523 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.03472, allocations: 1.588 MB / 0.7539 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.03475, allocations: 8.125 kB / 0.7539 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.03484, allocations: 60.34 kB / 0.754 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.03497, allocations: 170.8 kB / 0.7541 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.03566, allocations: 0.5867 MB / 0.7547 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005219/0.04088, allocations: 7.824 MB / 0.7623 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.04257, allocations: 1.352 MB / 0.7637 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.04278, allocations: 155.8 kB / 0.7638 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.444e-05/0.04287, allocations: 29.61 kB / 0.7638 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.0429, allocations: 44.12 kB / 0.7639 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=103): time 3.868e-06/0.0429, allocations: 1.625 kB / 0.7639 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.002081/0.04498, allocations: 1.257 MB / 0.7651 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.04502, allocations: 64.41 kB / 0.7652 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.04549, allocations: 0.7886 MB / 0.7659 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.04554, allocations: 45.7 kB / 0.766 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.0458, allocations: 0.6574 MB / 0.7666 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.04598, allocations: 404.5 kB / 0.767 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.0462, allocations: 272.3 kB / 0.7673 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.04641, allocations: 309 kB / 0.7676 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.0466, allocations: 172.8 kB / 0.7677 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.04702, allocations: 0.676 MB / 0.7684 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007994/0.04782, allocations: 1.001 MB / 0.7694 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.04783, allocations: 7.938 kB / 0.7694 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.0013/0.04913, allocations: 1.056 MB / 0.7704 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.04916, allocations: 12 kB / 0.7704 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.04918, allocations: 21.16 kB / 0.7704 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004597/0.04964, allocations: 227 kB / 0.7707 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.05032, allocations: 352.3 kB / 0.771 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/0.05485, allocations: 9.6 MB / 0.7804 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/0.05551, allocations: 47.94 kB / 0.7804 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.05557, allocations: 55.98 kB / 0.7805 GB, free: 14.23 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.0003367/0.05591, allocations: 213 kB / 0.7807 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.05605, allocations: 119.9 kB / 0.7808 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.0571, allocations: 0.7714 MB / 0.7815 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.05711, allocations: 12 kB / 0.7815 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.05712, allocations: 4.625 kB / 0.7815 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.05712, allocations: 7.969 kB / 0.7816 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.05894, allocations: 1.577 MB / 0.7831 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.05894, allocations: 4 kB / 0.7831 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.05937, allocations: 196.5 kB / 0.7833 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.0596, allocations: 167.1 kB / 0.7834 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003683/0.05997, allocations: 215.2 kB / 0.7837 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.06001, allocations: 24.94 kB / 0.7837 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/0.06398, allocations: 9.578 MB / 0.793 GB, free: 424 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.06399, allocations: 11.94 kB / 0.793 GB, free: 412 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009991/0.06499, allocations: 0.9478 MB / 0.794 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.06511, allocations: 31.88 kB / 0.794 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.06542, allocations: 28.86 kB / 0.794 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.06554, allocations: 104.7 kB / 0.7941 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.06557, allocations: 27.94 kB / 0.7942 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002609/0.06583, allocations: 372.4 kB / 0.7945 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.1e-08/0.06583, allocations: 0 / 0.7945 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001098/0.06693, allocations: 396 kB / 0.7949 GB, free: 14.39 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.0001704/0.0671, allocations: 130.8 kB / 0.795 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.06844, allocations: 1.63 MB / 0.7966 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-05/0.0685, allocations: 39.56 kB / 0.7966 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007913/0.06929, allocations: 1.237 MB / 0.7978 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.07017, allocations: 461.6 kB / 0.7983 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006995/0.07716, allocations: 2.572 MB / 0.8008 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.07745, allocations: 357.3 kB / 0.8011 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005127/0.07796, allocations: 171.2 kB / 0.8013 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006348/0.0786, allocations: 329.1 kB / 0.8016 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of SimCode: time 1.352e-06/0.0786, allocations: 0 / 0.8016 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of Templates: time 0.02311/0.1017, allocations: 19.1 MB / 0.8203 GB, free: 4.383 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.257993958890438]