Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001907/0.001907, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.00239/0.00239, allocations: 159.8 kB / 23.01 MB, free: 4.602 MB / 14.72 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.503/1.503, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.84/2.84, allocations: 394.2 MB / 0.6386 GB, free: 12.09 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 71.89 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.8644, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005642/0.8701, allocations: 4.506 MB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1835/1.054, allocations: 132.7 MB / 1.321 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/1.055, allocations: 23.81 kB / 1.321 GB, free: 12.68 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006982/1.055, allocations: 198.2 kB / 1.321 GB, free: 12.49 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002263/1.058, allocations: 0.566 MB / 1.321 GB, free: 11.93 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/1.06, allocations: 0.8472 MB / 1.322 GB, free: 11.08 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001815/1.062, allocations: 1.401 MB / 1.323 GB, free: 9.676 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007477/1.063, allocations: 394 kB / 1.324 GB, free: 9.266 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008235/1.063, allocations: 0.4983 MB / 1.324 GB, free: 8.766 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/1.064, allocations: 457.8 kB / 1.325 GB, free: 8.316 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001721/1.064, allocations: 116 kB / 1.325 GB, free: 8.203 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/1.065, allocations: 495.6 kB / 1.325 GB, free: 7.719 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003229/1.066, allocations: 299 kB / 1.326 GB, free: 7.426 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005045/1.066, allocations: 465.7 kB / 1.326 GB, free: 6.969 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/1.068, allocations: 1.677 MB / 1.328 GB, free: 5.289 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.068, allocations: 0 / 1.328 GB, free: 5.289 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.573e-06/1.068, allocations: 4 kB / 1.328 GB, free: 5.285 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.427e-05/1.068, allocations: 0 / 1.328 GB, free: 5.285 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002628/1.071, allocations: 1.411 MB / 1.329 GB, free: 3.84 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.071, allocations: 12.03 kB / 1.329 GB, free: 3.828 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/1.073, allocations: 228 kB / 1.329 GB, free: 3.605 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/1.074, allocations: 0.7182 MB / 1.33 GB, free: 2.859 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/1.074, allocations: 65.98 kB / 1.33 GB, free: 2.793 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/1.074, allocations: 79.94 kB / 1.33 GB, free: 2.715 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/1.076, allocations: 1.162 MB / 1.331 GB, free: 1.449 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/1.076, allocations: 0 / 1.331 GB, free: 1.449 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.22e-05/1.076, allocations: 40 kB / 1.331 GB, free: 1.41 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/1.076, allocations: 23.94 kB / 1.331 GB, free: 1.387 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/1.078, allocations: 1.054 MB / 1.332 GB, free: 340 kB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/1.082, allocations: 2.159 MB / 1.335 GB, free: 14.12 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.083, allocations: 0.7354 MB / 1.335 GB, free: 13.38 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/1.084, allocations: 270.7 kB / 1.336 GB, free: 13.11 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-05/1.084, allocations: 16.64 kB / 1.336 GB, free: 13.09 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009391/1.085, allocations: 0.5854 MB / 1.336 GB, free: 12.46 MB / 1.186 GB Notification: Performance of pre-optimization done (n=78): time 2.515e-06/1.085, allocations: 4 kB / 1.336 GB, free: 12.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=78): time 0.003287/1.088, allocations: 1.095 MB / 1.337 GB, free: 11.36 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/1.088, allocations: 196.6 kB / 1.337 GB, free: 11.12 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/1.089, allocations: 0.6057 MB / 1.338 GB, free: 10.5 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/1.089, allocations: 49.69 kB / 1.338 GB, free: 10.45 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/1.089, allocations: 408.9 kB / 1.338 GB, free: 10.04 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/1.09, allocations: 265.8 kB / 1.339 GB, free: 9.781 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/1.09, allocations: 162.6 kB / 1.339 GB, free: 9.617 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002129/1.09, allocations: 386.7 kB / 1.339 GB, free: 9.23 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/1.091, allocations: 269.8 kB / 1.339 GB, free: 8.965 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/1.091, allocations: 496.5 kB / 1.34 GB, free: 8.434 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.093, allocations: 0.6042 MB / 1.34 GB, free: 7.82 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.093, allocations: 0 / 1.34 GB, free: 7.82 MB / 1.186 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002083/1.095, allocations: 0.8414 MB / 1.341 GB, free: 6.969 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.095, allocations: 8 kB / 1.341 GB, free: 6.961 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.095, allocations: 128 / 1.341 GB, free: 6.961 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/1.095, allocations: 84.77 kB / 1.341 GB, free: 6.875 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/1.096, allocations: 159.8 kB / 1.342 GB, free: 6.719 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/1.098, allocations: 1.512 MB / 1.343 GB, free: 5.098 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/1.099, allocations: 83.61 kB / 1.343 GB, free: 5.016 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/1.099, allocations: 39.91 kB / 1.343 GB, free: 4.977 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004995/1.099, allocations: 262.6 kB / 1.343 GB, free: 4.715 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/1.1, allocations: 99.39 kB / 1.343 GB, free: 4.617 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/1.102, allocations: 1.038 MB / 1.344 GB, free: 3.566 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/1.102, allocations: 12 kB / 1.345 GB, free: 3.555 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.102, allocations: 4 kB / 1.345 GB, free: 3.551 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.102, allocations: 3.984 kB / 1.345 GB, free: 3.547 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009002/1.103, allocations: 0.6379 MB / 1.345 GB, free: 2.879 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.103, allocations: 0 / 1.345 GB, free: 2.879 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/1.104, allocations: 143.8 kB / 1.345 GB, free: 2.738 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/1.104, allocations: 72.78 kB / 1.345 GB, free: 2.664 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/1.104, allocations: 23.98 kB / 1.345 GB, free: 2.641 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/1.106, allocations: 1.525 MB / 1.347 GB, free: 1.008 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.106, allocations: 4.031 kB / 1.347 GB, free: 1.004 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/1.108, allocations: 0.9205 MB / 1.348 GB, free: 64 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/1.109, allocations: 191.1 kB / 1.348 GB, free: 15.88 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.109, allocations: 20 kB / 1.348 GB, free: 15.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/1.109, allocations: 69.84 kB / 1.348 GB, free: 15.79 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.109, allocations: 68.88 kB / 1.348 GB, free: 15.72 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/1.11, allocations: 35.97 kB / 1.348 GB, free: 15.68 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000618/1.11, allocations: 439 kB / 1.349 GB, free: 15.26 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.11, allocations: 0 / 1.349 GB, free: 15.26 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009533/1.111, allocations: 331.1 kB / 1.349 GB, free: 14.93 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002071/1.113, allocations: 0.6302 MB / 1.349 GB, free: 14.51 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001914/1.115, allocations: 0.7882 MB / 1.35 GB, free: 13.71 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.115, allocations: 0 / 1.35 GB, free: 13.71 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.116, allocations: 496.4 kB / 1.351 GB, free: 13.21 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.117, allocations: 294.3 kB / 1.351 GB, free: 12.95 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/1.121, allocations: 1.706 MB / 1.353 GB, free: 11.21 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/1.121, allocations: 440.5 kB / 1.353 GB, free: 10.75 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008357/1.122, allocations: 254.5 kB / 1.353 GB, free: 10.5 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/1.122, allocations: 108.4 kB / 1.353 GB, free: 10.39 MB / 1.201 GB Notification: Performance of SimCode: time 8.82e-07/1.122, allocations: 0 / 1.353 GB, free: 10.39 MB / 1.201 GB Notification: Performance of Templates: time 0.02845/1.151, allocations: 15.16 MB / 1.368 GB, free: 11.46 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.694678478990681]