Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00129/0.00129, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001859/0.00315, allocations: 435.8 kB / 10.33 MB, free: 368 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.001104/0.001104, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002503, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.092/1.092, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08804/1.18, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.352/2.352, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2663/2.618, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.516e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004649/0.004675, allocations: 3.059 MB / 0.8213 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005322/0.009996, allocations: 1.168 MB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.01033, allocations: 7.938 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007849/0.01111, allocations: 139.2 kB / 0.8225 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005912/0.01171, allocations: 230.6 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.01222, allocations: 155.6 kB / 0.8229 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.01296, allocations: 0.5254 MB / 0.8234 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00053/0.01349, allocations: 280.1 kB / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008478/0.01434, allocations: 299.3 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.01488, allocations: 227.3 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.639e-05/0.01494, allocations: 32 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.01538, allocations: 107.7 kB / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.01554, allocations: 107.7 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.01571, allocations: 99.81 kB / 0.8245 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006203/0.01633, allocations: 302.9 kB / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.659e-05/0.01635, allocations: 4 kB / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.056e-06/0.01636, allocations: 0 / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.09e-05/0.01639, allocations: 0 / 0.8248 GB, free: 12.18 MB / 0.8073 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.001118/0.0175, allocations: 0.5932 MB / 0.8254 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.01755, allocations: 8.625 kB / 0.8254 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000953/0.01851, allocations: 261.7 kB / 0.8257 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.01893, allocations: 221.2 kB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.01896, allocations: 21.03 kB / 0.8259 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.01901, allocations: 28.38 kB / 0.8259 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/0.01956, allocations: 423.4 kB / 0.8263 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.01957, allocations: 4.125 kB / 0.8263 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.01961, allocations: 16.36 kB / 0.8263 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.01967, allocations: 36.58 kB / 0.8264 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.01988, allocations: 96.42 kB / 0.8265 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.02148, allocations: 1.325 MB / 0.8278 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.02173, allocations: 97.3 kB / 0.8279 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.02188, allocations: 56.83 kB / 0.8279 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.02189, allocations: 4 kB / 0.8279 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.02192, allocations: 34.55 kB / 0.8279 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 3.767e-06/0.02193, allocations: 3.938 kB / 0.828 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0004153/0.02234, allocations: 129.1 kB / 0.8281 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.02237, allocations: 55.41 kB / 0.8281 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.02255, allocations: 215.3 kB / 0.8283 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.02257, allocations: 25.7 kB / 0.8284 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.02269, allocations: 212.1 kB / 0.8286 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.02273, allocations: 51.56 kB / 0.8286 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/0.0228, allocations: 49.88 kB / 0.8287 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.02291, allocations: 330.8 kB / 0.829 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.214e-05/0.02295, allocations: 20.45 kB / 0.829 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.65e-05/0.02304, allocations: 100.7 kB / 0.8291 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.02322, allocations: 156.2 kB / 0.8292 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.02323, allocations: 4 kB / 0.8292 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002797/0.0235, allocations: 162.1 kB / 0.8294 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.02353, allocations: 8 kB / 0.8294 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.02354, allocations: 0 / 0.8294 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.02374, allocations: 41.19 kB / 0.8294 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.02393, allocations: 59.91 kB / 0.8295 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.02511, allocations: 1.195 MB / 0.8307 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.02527, allocations: 19.84 kB / 0.8307 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.02528, allocations: 15.94 kB / 0.8307 GB, free: 5.695 MB / 0.8073 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 0.0001274/0.02541, allocations: 132.7 kB / 0.8308 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.02545, allocations: 15.98 kB / 0.8308 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.02549, allocations: 25.45 kB / 0.8309 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.0255, allocations: 4 kB / 0.8309 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.0255, allocations: 0 / 0.8309 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.02551, allocations: 0 / 0.8309 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.02624, allocations: 0.5802 MB / 0.8314 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.02624, allocations: 0 / 0.8314 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.936e-05/0.02633, allocations: 27.94 kB / 0.8315 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.0264, allocations: 35.77 kB / 0.8315 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.02654, allocations: 28.83 kB / 0.8315 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.02655, allocations: 4 kB / 0.8315 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007677/0.02732, allocations: 1.191 MB / 0.8327 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.02732, allocations: 4 kB / 0.8327 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.02758, allocations: 295.2 kB / 0.833 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.0276, allocations: 7.984 kB / 0.833 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.02774, allocations: 12.12 kB / 0.833 GB, free: 3.141 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.02777, allocations: 19.86 kB / 0.833 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.02779, allocations: 8 kB / 0.833 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.282e-05/0.02787, allocations: 67.41 kB / 0.8331 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02787, allocations: 0 / 0.8331 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004069/0.02828, allocations: 79.78 kB / 0.8332 GB, free: 2.969 MB / 0.8073 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 0.0001253/0.02841, allocations: 80.42 kB / 0.8332 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.02876, allocations: 219.9 kB / 0.8334 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.02877, allocations: 4 kB / 0.8335 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.02893, allocations: 159.4 kB / 0.8336 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.02933, allocations: 73.8 kB / 0.8337 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.03275, allocations: 0.5589 MB / 0.8342 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.03285, allocations: 108.3 kB / 0.8343 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.03297, allocations: 17.95 kB / 0.8343 GB, free: 1.648 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.03313, allocations: 95.33 kB / 0.8344 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of SimCode: time 1.433e-06/0.03313, allocations: 8 kB / 0.8344 GB, free: 1.547 MB / 0.8073 GB Notification: Performance of Templates: time 0.007186/0.04031, allocations: 2.754 MB / 0.8371 GB, free: 14.85 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor/Buildings_latest_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: 5.2744396617636085]