Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001875/0.001875, allocations: 85.48 kB / 19.44 MB, free: 344 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.002057/0.002057, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.406/3.406, allocations: 429.5 MB / 0.6729 GB, free: 4.031 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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.8774 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.201e-05, allocations: 3.281 kB / 0.8774 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007988/0.00801, allocations: 5.087 MB / 0.8824 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.6684/0.6764, allocations: 146.3 MB / 1.025 GB, free: 18.33 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009139/0.6773, allocations: 24.31 kB / 1.025 GB, free: 18.33 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008193/0.6781, allocations: 213.9 kB / 1.026 GB, free: 18.32 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.6802, allocations: 0.5944 MB / 1.026 GB, free: 18.32 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.6825, allocations: 0.879 MB / 1.027 GB, free: 18.32 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002333/0.6848, allocations: 1.543 MB / 1.028 GB, free: 18.32 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.686, allocations: 419.2 kB / 1.029 GB, free: 18.25 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.6879, allocations: 0.7758 MB / 1.03 GB, free: 18.25 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.6891, allocations: 433.5 kB / 1.03 GB, free: 18.25 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0004797/0.6896, allocations: 128.1 kB / 1.03 GB, free: 18.25 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.6911, allocations: 0.4985 MB / 1.031 GB, free: 18.24 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004457/0.6915, allocations: 327.4 kB / 1.031 GB, free: 18.24 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.6926, allocations: 417.3 kB / 1.031 GB, free: 18.24 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.6958, allocations: 1.868 MB / 1.033 GB, free: 18.12 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6958, allocations: 0.625 kB / 1.033 GB, free: 18.12 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6958, allocations: 0.7188 kB / 1.033 GB, free: 18.12 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.536e-05/0.6958, allocations: 3.875 kB / 1.033 GB, free: 18.12 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00315/0.699, allocations: 1.673 MB / 1.035 GB, free: 17.27 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.699, allocations: 8.719 kB / 1.035 GB, free: 17.27 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.7006, allocations: 343.2 kB / 1.035 GB, free: 17.16 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.702, allocations: 0.7599 MB / 1.036 GB, free: 16.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.791e-05/0.702, allocations: 73.7 kB / 1.036 GB, free: 16.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.7022, allocations: 101.2 kB / 1.036 GB, free: 16.89 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.7041, allocations: 1.259 MB / 1.037 GB, free: 16.39 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.7041, allocations: 1.406 kB / 1.037 GB, free: 16.39 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.906e-05/0.7042, allocations: 40.34 kB / 1.037 GB, free: 16.39 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.7042, allocations: 21.75 kB / 1.037 GB, free: 16.39 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.7061, allocations: 1.05 MB / 1.038 GB, free: 16.39 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.711, allocations: 3.123 MB / 1.041 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.7124, allocations: 0.7775 MB / 1.042 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/0.713, allocations: 285.4 kB / 1.042 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-05/0.7131, allocations: 33.61 kB / 1.042 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009383/0.714, allocations: 0.6395 MB / 1.043 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=93): time 2.796e-06/0.714, allocations: 0 / 1.043 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of matching and sorting (n=93): time 0.003388/0.7174, allocations: 1.137 MB / 1.044 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.7174, allocations: 200 kB / 1.044 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.7185, allocations: 0.7808 MB / 1.045 GB, free: 14.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.7186, allocations: 50.08 kB / 1.045 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.719, allocations: 0.5075 MB / 1.046 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.7193, allocations: 334 kB / 1.046 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.7196, allocations: 222.9 kB / 1.046 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.7199, allocations: 0.6265 MB / 1.047 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.7204, allocations: 256.1 kB / 1.047 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/0.7211, allocations: 0.5214 MB / 1.048 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.7222, allocations: 0.6199 MB / 1.048 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7222, allocations: 0 / 1.048 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002171/0.7243, allocations: 0.9084 MB / 1.049 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7244, allocations: 6.469 kB / 1.049 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.7244, allocations: 3.375 kB / 1.049 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.7254, allocations: 138.4 kB / 1.049 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/0.7262, allocations: 191.4 kB / 1.049 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.7282, allocations: 2.036 MB / 1.051 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007699/0.7289, allocations: 79.47 kB / 1.052 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.7291, allocations: 39.92 kB / 1.052 GB, free: 11.18 MB / 0.9323 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 (113): * Single equations (assignments): 112 * 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.0004891/0.7295, allocations: 288.4 kB / 1.052 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.7298, allocations: 123.7 kB / 1.052 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.7325, allocations: 1.045 MB / 1.053 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.7325, allocations: 11.34 kB / 1.053 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7325, allocations: 0 / 1.053 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.7325, allocations: 7.453 kB / 1.053 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/0.7367, allocations: 2.079 MB / 1.055 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7367, allocations: 0.8438 kB / 1.055 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/0.7374, allocations: 164.1 kB / 1.055 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008089/0.7382, allocations: 123.2 kB / 1.055 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/0.7383, allocations: 27.69 kB / 1.055 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.74, allocations: 2.056 MB / 1.057 GB, free: 8.641 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.74, allocations: 0.75 kB / 1.057 GB, free: 8.641 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.743, allocations: 1.433 MB / 1.059 GB, free: 8.355 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/0.7435, allocations: 211.7 kB / 1.059 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.7438, allocations: 25.61 kB / 1.059 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.7445, allocations: 51.91 kB / 1.059 GB, free: 8.281 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.7447, allocations: 79.48 kB / 1.059 GB, free: 8.281 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/0.7447, allocations: 36.69 kB / 1.059 GB, free: 8.281 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007858/0.7455, allocations: 0.4968 MB / 1.06 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1e-07/0.7455, allocations: 0 / 1.06 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001221/0.7468, allocations: 364.4 kB / 1.06 GB, free: 8.082 MB / 0.9323 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 (103): * Single equations (assignments): 92 * 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.00352/0.7503, allocations: 0.6583 MB / 1.061 GB, free: 7.883 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00209/0.7524, allocations: 0.9156 MB / 1.061 GB, free: 7.676 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7524, allocations: 4.25 kB / 1.061 GB, free: 7.676 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.7534, allocations: 0.5961 MB / 1.062 GB, free: 7.484 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.755, allocations: 330.5 kB / 1.062 GB, free: 7.457 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.7586, allocations: 1.841 MB / 1.064 GB, free: 6.699 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.7592, allocations: 454.6 kB / 1.065 GB, free: 6.59 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009384/0.7601, allocations: 253.2 kB / 1.065 GB, free: 6.547 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/0.7605, allocations: 111.9 kB / 1.065 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of SimCode: time 2.184e-06/0.7605, allocations: 0 / 1.065 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of Templates: time 0.0254/0.7859, allocations: 16.12 MB / 1.081 GB, free: 4.789 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.891585270059295]