Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.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.0007504/0.0007504, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001794, 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.0007125/0.0007125, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008761/0.001589, 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.9581/0.9581, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1187/1.077, allocations: 53.64 MB / 243.3 MB, free: 15.57 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.841/1.841, allocations: 378.2 MB / 0.6076 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5577/2.399, allocations: 123.3 MB / 0.728 GB, free: 5.793 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.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 3.984 kB / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.529e-05, allocations: 2.938 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003374/0.00341, allocations: 3.069 MB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.004919, allocations: 1.154 MB / 0.7334 GB, free: 344 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.005053, allocations: 7.938 kB / 0.7334 GB, free: 336 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.005437, allocations: 140.2 kB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.00574, allocations: 232.5 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.006014, allocations: 153.2 kB / 0.7339 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.006459, allocations: 0.5331 MB / 0.7345 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.006768, allocations: 264.8 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.007062, allocations: 321 kB / 0.735 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.0074, allocations: 215.4 kB / 0.7352 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.007434, allocations: 28 kB / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.007631, allocations: 111.7 kB / 0.7354 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.007726, allocations: 116.4 kB / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.007814, allocations: 99.81 kB / 0.7356 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.008153, allocations: 303.8 kB / 0.7359 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.578e-05/0.008169, allocations: 0 / 0.7359 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/0.00817, allocations: 0.5 kB / 0.7359 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.008185, allocations: 0 / 0.7359 GB, free: 13.86 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0006911/0.008876, allocations: 0.595 MB / 0.7364 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.008909, allocations: 8.562 kB / 0.7364 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005696/0.009478, allocations: 259.5 kB / 0.7367 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.009726, allocations: 215.7 kB / 0.7369 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.009743, allocations: 21.69 kB / 0.7369 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.009771, allocations: 28.38 kB / 0.7369 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.01011, allocations: 437.1 kB / 0.7374 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.01012, allocations: 192 / 0.7374 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.01014, allocations: 12.38 kB / 0.7374 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.01018, allocations: 36.58 kB / 0.7374 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.0103, allocations: 94.14 kB / 0.7375 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.01132, allocations: 1.336 MB / 0.7388 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.01148, allocations: 93.83 kB / 0.7389 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.01157, allocations: 54.61 kB / 0.7389 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.01158, allocations: 4 kB / 0.7389 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.0116, allocations: 38.8 kB / 0.739 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.01161, allocations: 0 / 0.739 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002657/0.01187, allocations: 127.2 kB / 0.7391 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.0119, allocations: 60.16 kB / 0.7392 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.01202, allocations: 211.3 kB / 0.7394 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.01203, allocations: 30.23 kB / 0.7394 GB, free: 10 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/0.01211, allocations: 204.9 kB / 0.7396 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.01214, allocations: 51.56 kB / 0.7396 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.0122, allocations: 55.2 kB / 0.7397 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.01229, allocations: 326.8 kB / 0.74 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/0.01231, allocations: 28.39 kB / 0.74 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.01238, allocations: 108.7 kB / 0.7401 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.0125, allocations: 151.7 kB / 0.7403 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.0125, allocations: 7.984 kB / 0.7403 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001775/0.01268, allocations: 155.7 kB / 0.7404 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.01269, allocations: 8 kB / 0.7404 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.0127, allocations: 1.031 kB / 0.7404 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.01286, allocations: 43.14 kB / 0.7405 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.01298, allocations: 51.97 kB / 0.7405 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006249/0.01361, allocations: 1.19 MB / 0.7417 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.01369, allocations: 19.84 kB / 0.7417 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.0137, allocations: 15.94 kB / 0.7417 GB, free: 7.414 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.316e-05/0.01379, allocations: 130.8 kB / 0.7419 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.01382, allocations: 19.97 kB / 0.7419 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.01384, allocations: 25.45 kB / 0.7419 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01384, allocations: 4 kB / 0.7419 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01385, allocations: 0 / 0.7419 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01385, allocations: 2.438 kB / 0.7419 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.01429, allocations: 0.5723 MB / 0.7425 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01429, allocations: 0.875 kB / 0.7425 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.01434, allocations: 31.94 kB / 0.7425 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.01438, allocations: 32.27 kB / 0.7425 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.905e-05/0.01447, allocations: 31.64 kB / 0.7426 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.01448, allocations: 8 kB / 0.7426 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000548/0.01503, allocations: 1.193 MB / 0.7437 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01503, allocations: 0 / 0.7437 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.0152, allocations: 291.9 kB / 0.744 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.01522, allocations: 12.73 kB / 0.744 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.01529, allocations: 4.562 kB / 0.744 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.01532, allocations: 23.86 kB / 0.744 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.01532, allocations: 5.25 kB / 0.744 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.01537, allocations: 67.41 kB / 0.7441 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.01537, allocations: 0 / 0.7441 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002126/0.01559, allocations: 82.72 kB / 0.7442 GB, free: 4.699 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 (14): * 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: 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 {(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 8.372e-05/0.01567, allocations: 84.36 kB / 0.7443 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.01592, allocations: 220.3 kB / 0.7445 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.01593, allocations: 4 kB / 0.7445 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.01602, allocations: 163.3 kB / 0.7446 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.01629, allocations: 69.22 kB / 0.7447 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.01833, allocations: 0.5601 MB / 0.7453 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.344e-05/0.01841, allocations: 112.3 kB / 0.7454 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.564e-05/0.01848, allocations: 23.56 kB / 0.7454 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.01858, allocations: 95.34 kB / 0.7455 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.01859, allocations: 0 / 0.7455 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of Templates: time 0.005406/0.02399, allocations: 2.741 MB / 0.7482 GB, free: 0.7031 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.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.910975459031761]