Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 472.7 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 65.16 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3332, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1741/0.5073, allocations: 166.1 MB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.519, allocations: 7.808 MB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.5206, allocations: 35.81 kB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.5217, allocations: 401 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003985/0.5258, allocations: 1.317 MB / 1.24 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.5287, allocations: 1.163 MB / 1.241 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002896/0.5316, allocations: 2.352 MB / 1.243 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.533, allocations: 1.178 MB / 1.244 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.5341, allocations: 0.8173 MB / 1.245 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.5354, allocations: 0.792 MB / 1.246 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.5356, allocations: 152 kB / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.5378, allocations: 1.088 MB / 1.247 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.5382, allocations: 438.6 kB / 1.247 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007521/0.539, allocations: 0.7812 MB / 1.248 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.7508/1.29, allocations: 2.352 MB / 1.251 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.29, allocations: 0.5 kB / 1.251 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.485e-06/1.29, allocations: 0.9062 kB / 1.251 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.422e-05/1.29, allocations: 0.875 kB / 1.251 GB, free: 12.32 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004322/1.294, allocations: 1.876 MB / 1.252 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.294, allocations: 10.5 kB / 1.252 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/1.297, allocations: 330.2 kB / 1.253 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/1.298, allocations: 0.9741 MB / 1.254 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-05/1.298, allocations: 84.73 kB / 1.254 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/1.299, allocations: 114 kB / 1.254 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/1.301, allocations: 1.171 MB / 1.255 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/1.301, allocations: 0 / 1.255 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/1.301, allocations: 52.19 kB / 1.255 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/1.301, allocations: 42.62 kB / 1.255 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/1.303, allocations: 1.309 MB / 1.256 GB, free: 10.79 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.00652/1.31, allocations: 3.832 MB / 1.26 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/1.312, allocations: 0.9957 MB / 1.261 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/1.312, allocations: 401.7 kB / 1.261 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.577e-05/1.312, allocations: 36.44 kB / 1.261 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/1.313, allocations: 0.5862 MB / 1.262 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.775e-06/1.313, allocations: 4.625 kB / 1.262 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003788/1.317, allocations: 1.434 MB / 1.263 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/1.317, allocations: 200.3 kB / 1.264 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/1.319, allocations: 0.8332 MB / 1.264 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/1.319, allocations: 49.39 kB / 1.265 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/1.319, allocations: 0.518 MB / 1.265 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/1.319, allocations: 347.7 kB / 1.265 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/1.32, allocations: 195.7 kB / 1.266 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.617e-05/1.32, allocations: 343.8 kB / 1.266 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/1.321, allocations: 338.5 kB / 1.266 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/1.321, allocations: 474.8 kB / 1.267 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.323, allocations: 0.7976 MB / 1.267 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.323, allocations: 2.5 kB / 1.267 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002487/1.325, allocations: 1.079 MB / 1.268 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.325, allocations: 6.562 kB / 1.268 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.325, allocations: 4.125 kB / 1.269 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/1.326, allocations: 91.19 kB / 1.269 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009473/1.327, allocations: 214.9 kB / 1.269 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/1.329, allocations: 1.64 MB / 1.27 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/1.33, allocations: 113.8 kB / 1.271 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.33, allocations: 45.97 kB / 1.271 GB, free: 6.004 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.001054/1.331, allocations: 324.6 kB / 1.271 GB, free: 21.89 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/1.332, allocations: 113.9 kB / 1.271 GB, free: 21.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/1.335, allocations: 1.244 MB / 1.272 GB, free: 21.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/1.335, allocations: 11.31 kB / 1.272 GB, free: 21.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/1.335, allocations: 2.781 kB / 1.272 GB, free: 21.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.335, allocations: 7.25 kB / 1.272 GB, free: 21.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/1.337, allocations: 1.16 MB / 1.273 GB, free: 21.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.337, allocations: 1.031 kB / 1.273 GB, free: 21.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.338, allocations: 209.3 kB / 1.274 GB, free: 21.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005799/1.339, allocations: 71.08 kB / 1.274 GB, free: 21.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/1.339, allocations: 29.73 kB / 1.274 GB, free: 21.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/1.341, allocations: 1.666 MB / 1.275 GB, free: 20.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.341, allocations: 2.281 kB / 1.275 GB, free: 20.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005082/1.346, allocations: 1.569 MB / 1.277 GB, free: 19.95 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.347, allocations: 324.1 kB / 1.277 GB, free: 19.78 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005205/1.348, allocations: 26.81 kB / 1.277 GB, free: 19.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/1.349, allocations: 66.73 kB / 1.277 GB, free: 19.78 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/1.35, allocations: 79.91 kB / 1.277 GB, free: 19.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.35, allocations: 45.67 kB / 1.277 GB, free: 19.78 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001497/1.351, allocations: 0.5811 MB / 1.278 GB, free: 19.67 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.81e-07/1.351, allocations: 2.609 kB / 1.278 GB, free: 19.67 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001899/1.353, allocations: 430.7 kB / 1.278 GB, free: 19.61 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.00174/1.355, allocations: 0.6261 MB / 1.279 GB, free: 19.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003622/1.359, allocations: 1.271 MB / 1.28 GB, free: 19.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.359, allocations: 0 / 1.28 GB, free: 19.29 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/1.36, allocations: 0.6028 MB / 1.281 GB, free: 19.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.363, allocations: 497 kB / 1.281 GB, free: 19.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/1.369, allocations: 2.471 MB / 1.284 GB, free: 18.22 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/1.37, allocations: 1.156 MB / 1.285 GB, free: 17.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002014/1.372, allocations: 317.5 kB / 1.285 GB, free: 17.47 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/1.373, allocations: 124.8 kB / 1.285 GB, free: 17.46 MB / 1.014 GB Notification: Performance of SimCode: time 7.31e-07/1.373, allocations: 1.062 kB / 1.285 GB, free: 17.46 MB / 1.014 GB Notification: Performance of Templates: time 0.04653/1.419, allocations: 20.85 MB / 1.306 GB, free: 16.09 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches