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.001729/0.001729, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002146/0.002146, allocations: 158.2 kB / 22.45 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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.69/2.69, 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.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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.736e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00784/0.007867, allocations: 4.666 MB / 0.9555 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.1801, allocations: 132.8 MB / 1.085 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000932/0.181, allocations: 23.81 kB / 1.085 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009116/0.1819, allocations: 202.1 kB / 1.085 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.1842, allocations: 0.5917 MB / 1.086 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.1866, allocations: 0.8825 MB / 1.087 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002101/0.1887, allocations: 1.505 MB / 1.088 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009144/0.1896, allocations: 410.2 kB / 1.089 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.1909, allocations: 0.764 MB / 1.089 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007499/0.1917, allocations: 418.8 kB / 1.09 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002473/0.1919, allocations: 128 kB / 1.09 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.193, allocations: 0.4954 MB / 1.09 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003755/0.1934, allocations: 322.9 kB / 1.091 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006127/0.194, allocations: 407 kB / 1.091 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.1966, allocations: 1.846 MB / 1.093 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1966, allocations: 4 kB / 1.093 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1966, allocations: 0 / 1.093 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.616e-05/0.1967, allocations: 0 / 1.093 GB, free: 9.625 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003348/0.2, allocations: 1.47 MB / 1.094 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2001, allocations: 8.031 kB / 1.094 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.2018, allocations: 232 kB / 1.095 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.2035, allocations: 0.7413 MB / 1.095 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.497e-05/0.2036, allocations: 74.12 kB / 1.095 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.2038, allocations: 88 kB / 1.095 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.2059, allocations: 1.212 MB / 1.097 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.2059, allocations: 0 / 1.097 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.206, allocations: 36 kB / 1.097 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.2061, allocations: 24 kB / 1.097 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.2081, allocations: 1.085 MB / 1.098 GB, free: 4.5 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.005119/0.2132, allocations: 2.268 MB / 1.1 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.215, allocations: 0.8095 MB / 1.101 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.2156, allocations: 295.7 kB / 1.101 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.072e-05/0.2157, allocations: 28.97 kB / 1.101 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.2168, allocations: 0.6206 MB / 1.102 GB, free: 384 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=90): time 2.815e-06/0.2168, allocations: 0 / 1.102 GB, free: 384 kB / 0.9981 GB Notification: Performance of matching and sorting (n=90): time 0.487/0.7037, allocations: 1.174 MB / 1.103 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.7038, allocations: 202.4 kB / 1.103 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000854/0.7047, allocations: 0.6221 MB / 1.104 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.389e-05/0.7047, allocations: 50.47 kB / 1.104 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.705, allocations: 415.8 kB / 1.104 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.7052, allocations: 302.2 kB / 1.104 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.7055, allocations: 182.4 kB / 1.105 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.7056, allocations: 396 kB / 1.105 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006786/0.7063, allocations: 297 kB / 1.105 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009379/0.7072, allocations: 0.5126 MB / 1.106 GB, free: 160 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.7088, allocations: 0.6642 MB / 1.106 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.7088, allocations: 0.7188 kB / 1.106 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00316/0.712, allocations: 0.9303 MB / 1.107 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.712, allocations: 7.688 kB / 1.107 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.712, allocations: 2.469 kB / 1.107 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/0.7127, allocations: 87.33 kB / 1.107 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/0.7135, allocations: 182.4 kB / 1.108 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.7155, allocations: 1.503 MB / 1.109 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009453/0.7165, allocations: 92.98 kB / 1.109 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/0.7166, allocations: 40.34 kB / 1.109 GB, free: 157.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 109 * 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.0004896/0.7171, allocations: 286.6 kB / 1.109 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.7173, allocations: 92.67 kB / 1.11 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/0.7199, allocations: 1.089 MB / 1.111 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.7199, allocations: 10.03 kB / 1.111 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7199, allocations: 8.812 kB / 1.111 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.7199, allocations: 7.188 kB / 1.111 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.7235, allocations: 1.921 MB / 1.112 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.7235, allocations: 4.5 kB / 1.112 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007394/0.7243, allocations: 158.6 kB / 1.113 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004847/0.7247, allocations: 69.88 kB / 1.113 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.7248, allocations: 25.81 kB / 1.113 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.7264, allocations: 1.515 MB / 1.114 GB, free: 155 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7264, allocations: 4.969 kB / 1.114 GB, free: 155 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.7293, allocations: 1.455 MB / 1.116 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.7297, allocations: 202 kB / 1.116 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.7299, allocations: 32.56 kB / 1.116 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007019/0.7306, allocations: 61.34 kB / 1.116 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.7308, allocations: 84.2 kB / 1.116 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.7309, allocations: 32.47 kB / 1.116 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006083/0.7315, allocations: 449 kB / 1.116 GB, free: 154 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7315, allocations: 0 / 1.116 GB, free: 154 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001042/0.7325, allocations: 356.1 kB / 1.117 GB, free: 153.9 MB / 0.9981 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: 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 (101): * Single equations (assignments): 90 * 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.002098/0.7346, allocations: 0.6708 MB / 1.117 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.7365, allocations: 0.8526 MB / 1.118 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7365, allocations: 1.156 kB / 1.118 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009357/0.7375, allocations: 0.5112 MB / 1.119 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.7389, allocations: 295.5 kB / 1.119 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.7421, allocations: 1.8 MB / 1.121 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.7427, allocations: 456.4 kB / 1.121 GB, free: 152 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008622/0.7435, allocations: 275 kB / 1.122 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.7438, allocations: 114.1 kB / 1.122 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.7438, allocations: 0 / 1.122 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02865/0.7725, allocations: 15.84 MB / 1.137 GB, free: 148.4 MB / 0.9981 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 -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/jenkins/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.192216169089079]