Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001785/0.001785, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.002016/0.002016, allocations: 161.6 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.653/2.653, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [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.00208/0.00208, allocations: 63.91 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3045, allocations: 169.9 MB / 1.117 GB, free: 2.539 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006809/0.3113, allocations: 4.673 MB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.7001/1.011, allocations: 132.7 MB / 1.252 GB, free: 3.059 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007331/1.012, allocations: 24.12 kB / 1.252 GB, free: 3.047 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006125/1.013, allocations: 208.3 kB / 1.252 GB, free: 2.906 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00177/1.014, allocations: 0.5747 MB / 1.252 GB, free: 2.574 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/1.017, allocations: 0.8616 MB / 1.253 GB, free: 2.129 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001831/1.018, allocations: 1.447 MB / 1.255 GB, free: 1.375 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/1.019, allocations: 401 kB / 1.255 GB, free: 1.141 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008803/1.02, allocations: 0.5214 MB / 1.256 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008032/1.021, allocations: 479.7 kB / 1.256 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002175/1.021, allocations: 121.3 kB / 1.256 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/1.022, allocations: 498.4 kB / 1.257 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/1.023, allocations: 301 kB / 1.257 GB, free: 364 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005957/1.023, allocations: 486.1 kB / 1.257 GB, free: 76 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002637/1.026, allocations: 1.725 MB / 1.259 GB, free: 15.35 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.026, allocations: 0 / 1.259 GB, free: 15.35 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.362e-06/1.026, allocations: 1.281 kB / 1.259 GB, free: 15.35 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.234e-05/1.026, allocations: 4 kB / 1.259 GB, free: 15.34 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002911/1.029, allocations: 1.45 MB / 1.26 GB, free: 14.4 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.029, allocations: 8.625 kB / 1.26 GB, free: 14.4 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/1.03, allocations: 234.5 kB / 1.261 GB, free: 14.33 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/1.032, allocations: 0.7232 MB / 1.261 GB, free: 13.88 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/1.032, allocations: 65.92 kB / 1.261 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/1.032, allocations: 84.56 kB / 1.262 GB, free: 13.82 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/1.034, allocations: 1.187 MB / 1.263 GB, free: 13.08 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/1.034, allocations: 1.703 kB / 1.263 GB, free: 13.08 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.533e-05/1.034, allocations: 45.16 kB / 1.263 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/1.034, allocations: 20.94 kB / 1.263 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.036, allocations: 1.076 MB / 1.264 GB, free: 12.79 MB / 1.123 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.004177/1.04, allocations: 2.137 MB / 1.266 GB, free: 11.54 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/1.042, allocations: 0.7629 MB / 1.267 GB, free: 11.23 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/1.042, allocations: 283.6 kB / 1.267 GB, free: 11.12 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.023e-05/1.043, allocations: 25.11 kB / 1.267 GB, free: 11.12 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/1.044, allocations: 0.594 MB / 1.267 GB, free: 10.79 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.295e-06/1.044, allocations: 0 / 1.267 GB, free: 10.79 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003496/1.047, allocations: 1.139 MB / 1.269 GB, free: 10.38 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.047, allocations: 191.1 kB / 1.269 GB, free: 10.16 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009364/1.048, allocations: 0.6095 MB / 1.269 GB, free: 9.883 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/1.048, allocations: 43.64 kB / 1.269 GB, free: 9.84 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/1.049, allocations: 422.4 kB / 1.27 GB, free: 9.512 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/1.049, allocations: 282.8 kB / 1.27 GB, free: 9.289 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/1.049, allocations: 164.8 kB / 1.27 GB, free: 9.215 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002252/1.049, allocations: 388.8 kB / 1.271 GB, free: 8.867 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/1.05, allocations: 271.2 kB / 1.271 GB, free: 8.77 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007671/1.051, allocations: 499.8 kB / 1.271 GB, free: 8.453 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/1.052, allocations: 0.6096 MB / 1.272 GB, free: 8.168 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.052, allocations: 1.125 kB / 1.272 GB, free: 8.168 MB / 1.123 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002157/1.054, allocations: 0.8635 MB / 1.273 GB, free: 7.82 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.054, allocations: 5.375 kB / 1.273 GB, free: 7.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.054, allocations: 1.438 kB / 1.273 GB, free: 7.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/1.055, allocations: 87.67 kB / 1.273 GB, free: 7.797 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007055/1.055, allocations: 169.1 kB / 1.273 GB, free: 7.781 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.058, allocations: 1.511 MB / 1.275 GB, free: 6.406 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/1.058, allocations: 87.08 kB / 1.275 GB, free: 6.363 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/1.059, allocations: 39.05 kB / 1.275 GB, free: 6.355 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (97): * Single equations (assignments): 96 * 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.0005095/1.059, allocations: 269.7 kB / 1.275 GB, free: 6.156 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/1.059, allocations: 88.09 kB / 1.275 GB, free: 6.109 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/1.062, allocations: 1.071 MB / 1.276 GB, free: 5.691 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/1.062, allocations: 12.84 kB / 1.276 GB, free: 5.688 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.062, allocations: 4.875 kB / 1.276 GB, free: 5.684 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/1.062, allocations: 4.688 kB / 1.276 GB, free: 5.684 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/1.063, allocations: 0.642 MB / 1.277 GB, free: 5.336 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.063, allocations: 0.9375 kB / 1.277 GB, free: 5.336 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000699/1.064, allocations: 150.9 kB / 1.277 GB, free: 5.324 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/1.064, allocations: 77.52 kB / 1.277 GB, free: 5.301 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-05/1.064, allocations: 25.31 kB / 1.277 GB, free: 5.289 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/1.066, allocations: 1.532 MB / 1.278 GB, free: 3.895 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.066, allocations: 0.75 kB / 1.278 GB, free: 3.895 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/1.069, allocations: 1.341 MB / 1.28 GB, free: 3.32 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004766/1.07, allocations: 195.4 kB / 1.28 GB, free: 3.215 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/1.07, allocations: 18.67 kB / 1.28 GB, free: 3.203 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006967/1.07, allocations: 68.77 kB / 1.28 GB, free: 3.188 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.071, allocations: 77.31 kB / 1.28 GB, free: 3.176 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-05/1.071, allocations: 32.86 kB / 1.28 GB, free: 3.172 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000661/1.071, allocations: 448.9 kB / 1.281 GB, free: 2.973 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.071, allocations: 0 / 1.281 GB, free: 2.973 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001069/1.072, allocations: 341.3 kB / 1.281 GB, free: 2.879 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (93): * Single equations (assignments): 87 * 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.002192/1.075, allocations: 0.6336 MB / 1.281 GB, free: 2.633 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00189/1.077, allocations: 0.8131 MB / 1.282 GB, free: 2.285 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.077, allocations: 1.312 kB / 1.282 GB, free: 2.285 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/1.078, allocations: 0.4904 MB / 1.283 GB, free: 2.055 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/1.079, allocations: 297.4 kB / 1.283 GB, free: 1.961 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/1.085, allocations: 1.833 MB / 1.285 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/1.086, allocations: 452.4 kB / 1.285 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001032/1.087, allocations: 259.1 kB / 1.286 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/1.087, allocations: 110.5 kB / 1.286 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of SimCode: time 1.022e-06/1.087, allocations: 0 / 1.286 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of Templates: time 0.02947/1.116, allocations: 15.39 MB / 1.301 GB, free: 11.25 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.216573033016175]