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.001798/0.001798, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002401/0.002401, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.479/1.479, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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 3.23/3.23, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8775 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.227e-05, allocations: 6.562 kB / 0.8775 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.01348/0.01351, allocations: 4.509 MB / 0.882 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2132/0.2267, allocations: 132.7 MB / 1.012 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000809/0.2275, allocations: 19.81 kB / 1.012 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007829/0.2283, allocations: 206.1 kB / 1.012 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.2306, allocations: 0.5669 MB / 1.012 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.233, allocations: 0.8647 MB / 1.013 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002176/0.2352, allocations: 1.467 MB / 1.015 GB, free: 9.684 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000928/0.2361, allocations: 393.9 kB / 1.015 GB, free: 9.281 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.2375, allocations: 0.7367 MB / 1.016 GB, free: 8.543 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006568/0.2382, allocations: 402.8 kB / 1.016 GB, free: 8.148 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.2383, allocations: 120 kB / 1.016 GB, free: 8.031 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.2394, allocations: 0.4916 MB / 1.017 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.2398, allocations: 314.9 kB / 1.017 GB, free: 7.23 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005081/0.2403, allocations: 395 kB / 1.017 GB, free: 6.844 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.2431, allocations: 1.795 MB / 1.019 GB, free: 5.043 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2431, allocations: 0 / 1.019 GB, free: 5.043 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2431, allocations: 0 / 1.019 GB, free: 5.043 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.2432, allocations: 0 / 1.019 GB, free: 5.043 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003108/0.2463, allocations: 1.431 MB / 1.021 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2463, allocations: 8.031 kB / 1.021 GB, free: 3.562 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.248, allocations: 335.6 kB / 1.021 GB, free: 3.234 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.2494, allocations: 0.7415 MB / 1.022 GB, free: 2.469 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.613e-05/0.2495, allocations: 70.12 kB / 1.022 GB, free: 2.402 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.2496, allocations: 88 kB / 1.022 GB, free: 2.316 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.2517, allocations: 1.182 MB / 1.023 GB, free: 1.027 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.2517, allocations: 0 / 1.023 GB, free: 1.027 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-05/0.2518, allocations: 39.98 kB / 1.023 GB, free: 0.9883 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.2518, allocations: 20 kB / 1.023 GB, free: 0.9688 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.2539, allocations: 1.065 MB / 1.024 GB, free: 15.91 MB / 0.9948 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.00513/0.259, allocations: 2.303 MB / 1.026 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.2608, allocations: 0.7838 MB / 1.027 GB, free: 12.76 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.2614, allocations: 292.3 kB / 1.027 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.753e-05/0.2615, allocations: 32.67 kB / 1.027 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.2626, allocations: 0.6007 MB / 1.028 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=86): time 2.425e-06/0.2626, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=86): time 0.003665/0.2663, allocations: 1.188 MB / 1.029 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.2665, allocations: 196.9 kB / 1.029 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/0.2674, allocations: 0.6174 MB / 1.03 GB, free: 9.742 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.441e-05/0.2675, allocations: 49.7 kB / 1.03 GB, free: 9.688 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.2679, allocations: 409.1 kB / 1.03 GB, free: 9.281 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.2682, allocations: 289.5 kB / 1.031 GB, free: 8.996 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.2685, allocations: 174.6 kB / 1.031 GB, free: 8.82 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000255/0.2688, allocations: 386.8 kB / 1.031 GB, free: 8.434 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.2694, allocations: 285.8 kB / 1.031 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009272/0.2704, allocations: 0.5121 MB / 1.032 GB, free: 7.594 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.2721, allocations: 0.649 MB / 1.032 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.2721, allocations: 0 / 1.032 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002607/0.2747, allocations: 0.9546 MB / 1.033 GB, free: 5.965 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2747, allocations: 4 kB / 1.033 GB, free: 5.961 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2747, allocations: 0 / 1.033 GB, free: 5.961 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.2758, allocations: 136.9 kB / 1.034 GB, free: 5.824 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.2765, allocations: 163.7 kB / 1.034 GB, free: 5.664 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.279, allocations: 1.504 MB / 1.035 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007866/0.2798, allocations: 98.48 kB / 1.035 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/0.2798, allocations: 47.95 kB / 1.035 GB, free: 3.914 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0005053/0.2804, allocations: 272.2 kB / 1.036 GB, free: 3.637 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.2806, allocations: 111.5 kB / 1.036 GB, free: 3.527 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.2833, allocations: 1.077 MB / 1.037 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.2833, allocations: 8 kB / 1.037 GB, free: 2.422 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2833, allocations: 0 / 1.037 GB, free: 2.422 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.2834, allocations: 11.97 kB / 1.037 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/0.2873, allocations: 1.856 MB / 1.039 GB, free: 0.5039 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2873, allocations: 0 / 1.039 GB, free: 0.5039 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/0.2879, allocations: 147.8 kB / 1.039 GB, free: 368 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000786/0.2887, allocations: 128.6 kB / 1.039 GB, free: 236 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/0.2888, allocations: 23.98 kB / 1.039 GB, free: 212 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.2913, allocations: 1.533 MB / 1.04 GB, free: 14.57 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2913, allocations: 0 / 1.04 GB, free: 14.57 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.2937, allocations: 1.053 MB / 1.041 GB, free: 13.49 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.2942, allocations: 203.1 kB / 1.042 GB, free: 13.29 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.2943, allocations: 19.98 kB / 1.042 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007017/0.295, allocations: 63.94 kB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.2952, allocations: 80.84 kB / 1.042 GB, free: 13.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-05/0.2953, allocations: 35.92 kB / 1.042 GB, free: 13.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000662/0.296, allocations: 443 kB / 1.042 GB, free: 12.67 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.296, allocations: 0 / 1.042 GB, free: 12.67 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009809/0.2969, allocations: 339.1 kB / 1.043 GB, free: 12.34 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002482/0.2994, allocations: 0.6552 MB / 1.043 GB, free: 11.88 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001951/0.3014, allocations: 0.8352 MB / 1.044 GB, free: 11.03 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3014, allocations: 0 / 1.044 GB, free: 11.03 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.3024, allocations: 0.4923 MB / 1.044 GB, free: 10.52 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.3038, allocations: 327.8 kB / 1.045 GB, free: 10.23 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.3074, allocations: 1.723 MB / 1.046 GB, free: 8.469 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.3079, allocations: 444.4 kB / 1.047 GB, free: 8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008288/0.3087, allocations: 266.6 kB / 1.047 GB, free: 7.734 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.3091, allocations: 104.5 kB / 1.047 GB, free: 7.633 MB / 1.01 GB Notification: Performance of SimCode: time 9.32e-07/0.3091, allocations: 4 kB / 1.047 GB, free: 7.629 MB / 1.01 GB Notification: Performance of Templates: time 0.3629/0.672, allocations: 15.65 MB / 1.063 GB, free: 217.5 MB / 1.01 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 -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/jenkins/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.518600728013553]