Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0008055/0.0008055, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001858, 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.0006822/0.0006822, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001715, 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.9511/0.9511, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1081/1.059, allocations: 53.65 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.781/1.781, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5835/2.365, allocations: 123.3 MB / 0.728 GB, free: 5.828 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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.915e-05, allocations: 10.94 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004077/0.004096, allocations: 2.748 MB / 0.732 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002463/0.006559, allocations: 1.511 MB / 0.7335 GB, free: 320 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.006688, allocations: 8.875 kB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.007121, allocations: 120.3 kB / 0.7336 GB, free: 192 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.007495, allocations: 212.3 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.008025, allocations: 266.1 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004937/0.008519, allocations: 442.5 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.00882, allocations: 162.2 kB / 0.7346 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.009165, allocations: 248.2 kB / 0.7349 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.009522, allocations: 196.6 kB / 0.7351 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.009569, allocations: 24 kB / 0.7351 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.009891, allocations: 176.7 kB / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.01002, allocations: 119.7 kB / 0.7354 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.01013, allocations: 83.81 kB / 0.7354 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.01059, allocations: 319.8 kB / 0.7357 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.692e-05/0.01061, allocations: 0 / 0.7357 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01061, allocations: 0 / 0.7357 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.01063, allocations: 0.625 kB / 0.7358 GB, free: 13.99 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008869/0.01151, allocations: 0.5603 MB / 0.7363 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.01155, allocations: 8.031 kB / 0.7363 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.01238, allocations: 218.3 kB / 0.7365 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.01267, allocations: 208.7 kB / 0.7367 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.01269, allocations: 17.98 kB / 0.7367 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.01281, allocations: 40.67 kB / 0.7368 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.01329, allocations: 379.3 kB / 0.7371 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.01331, allocations: 9.344 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.01334, allocations: 7.938 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.01345, allocations: 40.47 kB / 0.7372 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.01368, allocations: 116.3 kB / 0.7373 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.01534, allocations: 1.299 MB / 0.7386 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.0156, allocations: 164 kB / 0.7387 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.01569, allocations: 46.53 kB / 0.7388 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.01571, allocations: 4 kB / 0.7388 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.01575, allocations: 42.55 kB / 0.7388 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.01575, allocations: 0 / 0.7388 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.001107/0.01686, allocations: 448 kB / 0.7392 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.01689, allocations: 56.42 kB / 0.7393 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.01712, allocations: 227 kB / 0.7395 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.01714, allocations: 30.39 kB / 0.7395 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01725, allocations: 184.3 kB / 0.7397 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.01733, allocations: 88.23 kB / 0.7398 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.01746, allocations: 77.59 kB / 0.7399 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.01758, allocations: 331.6 kB / 0.7402 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.647e-05/0.01767, allocations: 43.97 kB / 0.7402 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.01783, allocations: 128.3 kB / 0.7404 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.01808, allocations: 192.4 kB / 0.7405 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01809, allocations: 2.438 kB / 0.7405 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006133/0.0187, allocations: 294.3 kB / 0.7408 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01872, allocations: 4 kB / 0.7408 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.01873, allocations: 11.88 kB / 0.7408 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007301/0.01946, allocations: 184.4 kB / 0.741 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.01971, allocations: 67.89 kB / 0.7411 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.0215, allocations: 1.556 MB / 0.7426 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.02171, allocations: 15.98 kB / 0.7426 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.02173, allocations: 8.109 kB / 0.7426 GB, free: 6.543 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.02186, allocations: 141.4 kB / 0.7428 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.02192, allocations: 23.91 kB / 0.7428 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.02219, allocations: 166.5 kB / 0.7429 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.02219, allocations: 0 / 0.7429 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.0222, allocations: 0.6875 kB / 0.7429 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.0222, allocations: 0 / 0.7429 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.02281, allocations: 448.9 kB / 0.7434 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.02281, allocations: 0.5 kB / 0.7434 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.02323, allocations: 105.9 kB / 0.7435 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.02332, allocations: 39.77 kB / 0.7435 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.02332, allocations: 0 / 0.7435 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.02334, allocations: 9.125 kB / 0.7435 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.02334, allocations: 4 kB / 0.7435 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.02335, allocations: 4 kB / 0.7435 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.02373, allocations: 351.6 kB / 0.7439 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.02377, allocations: 4 kB / 0.7439 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.02392, allocations: 12.64 kB / 0.7439 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.02396, allocations: 8.734 kB / 0.7439 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.02398, allocations: 11.98 kB / 0.7439 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.784e-05/0.02407, allocations: 67.12 kB / 0.744 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.02407, allocations: 0 / 0.744 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003915/0.02446, allocations: 91.98 kB / 0.744 GB, free: 5.031 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.0001595/0.02462, allocations: 95.61 kB / 0.7441 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.02507, allocations: 348.7 kB / 0.7445 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.02508, allocations: 4 kB / 0.7445 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.69e-05/0.02515, allocations: 72.69 kB / 0.7445 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.02542, allocations: 84.55 kB / 0.7446 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.02787, allocations: 0.6263 MB / 0.7452 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.743e-05/0.02796, allocations: 112.1 kB / 0.7453 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.02807, allocations: 36.88 kB / 0.7454 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.0282, allocations: 96.22 kB / 0.7455 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of SimCode: time 1.513e-06/0.0282, allocations: 0 / 0.7455 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of Templates: time 0.006549/0.03475, allocations: 4.517 MB / 0.7499 GB, free: 15.14 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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: 4.960352702066302]