Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001112/0.001112, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001779/0.002891, 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.001071/0.001071, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002486, 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.9448/0.9448, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08287/1.028, allocations: 53.66 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.758/1.758, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.547/2.305, allocations: 123.3 MB / 0.7283 GB, free: 5.746 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.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7296 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.843e-05, allocations: 4.562 kB / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003807/0.003825, allocations: 2.718 MB / 0.7323 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.006076, allocations: 1.584 MB / 0.7338 GB, free: 204 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.006184, allocations: 7.938 kB / 0.7338 GB, free: 196 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.006653, allocations: 177.8 kB / 0.734 GB, free: 20 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.006967, allocations: 190.9 kB / 0.7342 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.00736, allocations: 228.7 kB / 0.7344 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.007727, allocations: 354.7 kB / 0.7347 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.007986, allocations: 151.7 kB / 0.7349 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.008263, allocations: 211.5 kB / 0.7351 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.008533, allocations: 164.5 kB / 0.7352 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.008573, allocations: 20 kB / 0.7353 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.009099, allocations: 324.3 kB / 0.7356 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/0.009192, allocations: 83.78 kB / 0.7357 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.009275, allocations: 69.59 kB / 0.7357 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.009759, allocations: 354.8 kB / 0.7361 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/0.009773, allocations: 0 / 0.7361 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.12e-07/0.009774, allocations: 0 / 0.7361 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.009789, allocations: 0 / 0.7361 GB, free: 13.91 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007606/0.01055, allocations: 0.5198 MB / 0.7366 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.01059, allocations: 16.45 kB / 0.7366 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007151/0.0113, allocations: 223.4 kB / 0.7368 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.01156, allocations: 187.3 kB / 0.737 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.01158, allocations: 16.88 kB / 0.737 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.01162, allocations: 17.5 kB / 0.737 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.01196, allocations: 271.9 kB / 0.7373 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.01198, allocations: 4.125 kB / 0.7373 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.012, allocations: 6.125 kB / 0.7373 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/0.01205, allocations: 28.42 kB / 0.7373 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.01222, allocations: 83.38 kB / 0.7374 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.01347, allocations: 1.026 MB / 0.7384 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.01372, allocations: 171.3 kB / 0.7385 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.368e-05/0.01379, allocations: 38.58 kB / 0.7386 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.508e-05/0.01384, allocations: 15.98 kB / 0.7386 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.01387, allocations: 43.72 kB / 0.7386 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.01387, allocations: 0 / 0.7386 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0008896/0.01476, allocations: 246.6 kB / 0.7389 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.0148, allocations: 77.11 kB / 0.7389 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.01494, allocations: 196.5 kB / 0.7391 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.01496, allocations: 29.7 kB / 0.7392 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.01504, allocations: 169.5 kB / 0.7393 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.01509, allocations: 55.5 kB / 0.7394 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.01516, allocations: 57.64 kB / 0.7394 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.01526, allocations: 330.7 kB / 0.7397 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/0.01531, allocations: 29.23 kB / 0.7398 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.01541, allocations: 97.39 kB / 0.7399 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.0156, allocations: 161.8 kB / 0.74 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.0156, allocations: 3.938 kB / 0.74 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000353/0.01595, allocations: 203.2 kB / 0.7402 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.01597, allocations: 8 kB / 0.7402 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.01598, allocations: 6.812 kB / 0.7402 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000319/0.0163, allocations: 74.36 kB / 0.7403 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.01648, allocations: 51.91 kB / 0.7404 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009778/0.01746, allocations: 1.727 MB / 0.742 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.01756, allocations: 28.53 kB / 0.7421 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01758, allocations: 8 kB / 0.7421 GB, free: 7.301 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.01767, allocations: 127 kB / 0.7422 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.01773, allocations: 23.91 kB / 0.7422 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.01804, allocations: 174 kB / 0.7424 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01805, allocations: 0 / 0.7424 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.01805, allocations: 7.922 kB / 0.7424 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01806, allocations: 4 kB / 0.7424 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.0187, allocations: 0.5179 MB / 0.7429 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.01871, allocations: 4 kB / 0.7429 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.01879, allocations: 23.98 kB / 0.7429 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.01884, allocations: 31.83 kB / 0.743 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.01906, allocations: 69.28 kB / 0.743 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.01908, allocations: 9.625 kB / 0.743 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009267/0.02001, allocations: 1.737 MB / 0.7447 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.02001, allocations: 0.6562 kB / 0.7447 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.02033, allocations: 454.5 kB / 0.7452 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.02035, allocations: 4.625 kB / 0.7452 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.02049, allocations: 8.688 kB / 0.7452 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.02053, allocations: 32.31 kB / 0.7452 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.02054, allocations: 4 kB / 0.7452 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.0206, allocations: 55.05 kB / 0.7453 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0206, allocations: 0 / 0.7453 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003657/0.02096, allocations: 80.42 kB / 0.7453 GB, free: 3.715 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001798/0.02114, allocations: 109.8 kB / 0.7454 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000626/0.02177, allocations: 242.9 kB / 0.7457 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.02178, allocations: 4.656 kB / 0.7457 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.022, allocations: 241.8 kB / 0.7459 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.02251, allocations: 261.7 kB / 0.7462 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.02527, allocations: 0.4908 MB / 0.7466 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.965e-05/0.02535, allocations: 97.98 kB / 0.7467 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.576e-05/0.02545, allocations: 24.81 kB / 0.7468 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.02556, allocations: 86.11 kB / 0.7468 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/0.02556, allocations: 0 / 0.7468 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of Templates: time 0.006459/0.03202, allocations: 3.224 MB / 0.75 GB, free: 14.96 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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: 4.803727367892861]