Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001331/0.001331, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001475/0.001475, allocations: 166.5 kB / 22.46 MB, free: 5.375 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.413/1.413, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.703/2.703, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.486e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006572/0.006597, allocations: 4.501 MB / 0.9553 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1709/0.1775, allocations: 132.7 MB / 1.085 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009123/0.1784, allocations: 23.81 kB / 1.085 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009017/0.1793, allocations: 194.2 kB / 1.085 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.1813, allocations: 0.5963 MB / 1.086 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.1834, allocations: 0.8583 MB / 1.087 GB, free: 204 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.1851, allocations: 1.463 MB / 1.088 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000796/0.1859, allocations: 394.5 kB / 1.088 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.187, allocations: 0.729 MB / 1.089 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.1876, allocations: 414.7 kB / 1.089 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.1878, allocations: 120 kB / 1.09 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.1888, allocations: 0.4954 MB / 1.09 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.1891, allocations: 311 kB / 1.09 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004787/0.1896, allocations: 390.9 kB / 1.091 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.192, allocations: 1.795 MB / 1.093 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.192, allocations: 0 / 1.093 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.192, allocations: 0 / 1.093 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.012e-05/0.192, allocations: 3.938 kB / 1.093 GB, free: 10.08 MB / 0.9981 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.002783/0.1948, allocations: 1.423 MB / 1.094 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1948, allocations: 8.031 kB / 1.094 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.1964, allocations: 235.9 kB / 1.094 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.1977, allocations: 0.7181 MB / 1.095 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.821e-05/0.1977, allocations: 78.11 kB / 1.095 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.1979, allocations: 91.92 kB / 1.095 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.1997, allocations: 1.178 MB / 1.096 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1997, allocations: 4 kB / 1.096 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/0.1998, allocations: 39.98 kB / 1.096 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.1998, allocations: 20 kB / 1.096 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.2017, allocations: 1.054 MB / 1.097 GB, free: 5.07 MB / 0.9981 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.004334/0.206, allocations: 2.284 MB / 1.099 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.2076, allocations: 0.7741 MB / 1.1 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005794/0.2082, allocations: 306.7 kB / 1.101 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.001e-05/0.2083, allocations: 20.64 kB / 1.101 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009957/0.2093, allocations: 0.6045 MB / 1.101 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=86): time 1.255e-05/0.2093, allocations: 0 / 1.101 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86): time 0.4815/0.6908, allocations: 1.152 MB / 1.102 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.6909, allocations: 199 kB / 1.102 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009435/0.6918, allocations: 0.6115 MB / 1.103 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.692, allocations: 48.64 kB / 1.103 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.6923, allocations: 412.9 kB / 1.103 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.6925, allocations: 292 kB / 1.104 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/0.6928, allocations: 176.2 kB / 1.104 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6929, allocations: 387.2 kB / 1.104 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/0.6935, allocations: 293.5 kB / 1.105 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.6943, allocations: 0.5113 MB / 1.105 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.6956, allocations: 0.6423 MB / 1.106 GB, free: 160 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.6956, allocations: 2.781 kB / 1.106 GB, free: 160 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00229/0.6979, allocations: 0.9199 MB / 1.107 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.6979, allocations: 5.719 kB / 1.107 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.6979, allocations: 3.234 kB / 1.107 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006669/0.6986, allocations: 82.8 kB / 1.107 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.6993, allocations: 170.1 kB / 1.107 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.7012, allocations: 1.503 MB / 1.108 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/0.702, allocations: 94.09 kB / 1.108 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.672e-05/0.7021, allocations: 44.62 kB / 1.108 GB, free: 158.2 MB / 0.9981 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.0004598/0.7026, allocations: 275.2 kB / 1.109 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.7028, allocations: 87.64 kB / 1.109 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.7053, allocations: 1.078 MB / 1.11 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.7053, allocations: 9.094 kB / 1.11 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7053, allocations: 5.703 kB / 1.11 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.7053, allocations: 5.203 kB / 1.11 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.7088, allocations: 1.871 MB / 1.112 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7088, allocations: 3.266 kB / 1.112 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.7095, allocations: 146.9 kB / 1.112 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/0.7099, allocations: 73.14 kB / 1.112 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.71, allocations: 28.88 kB / 1.112 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.7117, allocations: 1.524 MB / 1.113 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7117, allocations: 0.7812 kB / 1.113 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.7139, allocations: 1.025 MB / 1.114 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.7142, allocations: 192.9 kB / 1.115 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.7144, allocations: 24.22 kB / 1.115 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/0.7151, allocations: 60.31 kB / 1.115 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.7152, allocations: 84.98 kB / 1.115 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/0.7153, allocations: 32.64 kB / 1.115 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005911/0.7159, allocations: 441.1 kB / 1.115 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7159, allocations: 1.062 kB / 1.115 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001015/0.7169, allocations: 343.1 kB / 1.116 GB, free: 154.4 MB / 0.9981 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 (97): * Single equations (assignments): 86 * 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.002106/0.719, allocations: 0.6676 MB / 1.116 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.7208, allocations: 0.8357 MB / 1.117 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.7208, allocations: 3.312 kB / 1.117 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009035/0.7217, allocations: 0.4929 MB / 1.117 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.723, allocations: 290.3 kB / 1.118 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.726, allocations: 1.716 MB / 1.119 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.7265, allocations: 441.6 kB / 1.12 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007911/0.7272, allocations: 274.7 kB / 1.12 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.7276, allocations: 108.5 kB / 1.12 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.7276, allocations: 0 / 1.12 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02982/0.7574, allocations: 15.62 MB / 1.135 GB, free: 149.2 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.102483499795198]