Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.00111, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.963/2.963, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 8.906 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.397, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005902/0.4029, allocations: 4.447 MB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1858/0.5888, allocations: 136.9 MB / 1.196 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.59, allocations: 15.94 kB / 1.196 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.5906, allocations: 146.8 kB / 1.196 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.5923, allocations: 468.3 kB / 1.197 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.5945, allocations: 0.6266 MB / 1.197 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.5961, allocations: 1.237 MB / 1.198 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008154/0.5969, allocations: 452.1 kB / 1.199 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006202/0.5975, allocations: 354.4 kB / 1.199 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005221/0.598, allocations: 386.1 kB / 1.2 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.953e-05/0.5981, allocations: 28 kB / 1.2 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009459/0.5991, allocations: 339.6 kB / 1.2 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.5993, allocations: 187.2 kB / 1.2 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.5995, allocations: 209.1 kB / 1.2 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.6008, allocations: 1.192 MB / 1.201 GB, free: 2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6008, allocations: 0 / 1.201 GB, free: 2 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6008, allocations: 0 / 1.201 GB, free: 2 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.6009, allocations: 0 / 1.201 GB, free: 2 MB / 0.9512 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.002421/0.6033, allocations: 1.267 MB / 1.203 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.6033, allocations: 12.03 kB / 1.203 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009194/0.6043, allocations: 202.4 kB / 1.203 GB, free: 484 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.6055, allocations: 0.7233 MB / 1.204 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.6056, allocations: 66 kB / 1.204 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.6057, allocations: 87.94 kB / 1.204 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.6074, allocations: 0.9301 MB / 1.205 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.6074, allocations: 0 / 1.205 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-05/0.6075, allocations: 36 kB / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.6076, allocations: 24 kB / 1.205 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.6093, allocations: 1.128 MB / 1.206 GB, free: 13.39 MB / 0.9669 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.004111/0.6134, allocations: 2.783 MB / 1.209 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.6149, allocations: 0.823 MB / 1.209 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.6154, allocations: 310.7 kB / 1.21 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.419e-05/0.6155, allocations: 36.55 kB / 1.21 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008884/0.6164, allocations: 495.2 kB / 1.21 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 2.434e-06/0.6164, allocations: 0 / 1.21 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=82): time 0.00304/0.6194, allocations: 1.221 MB / 1.211 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.6196, allocations: 192.6 kB / 1.212 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.6204, allocations: 0.637 MB / 1.212 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.6205, allocations: 45.69 kB / 1.212 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.6209, allocations: 408.4 kB / 1.213 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.6211, allocations: 264.1 kB / 1.213 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.6212, allocations: 20 kB / 1.213 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.6214, allocations: 386.7 kB / 1.213 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.6219, allocations: 269.9 kB / 1.213 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/0.6226, allocations: 371 kB / 1.214 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.6232, allocations: 306.9 kB / 1.214 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.6232, allocations: 4 kB / 1.214 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002009/0.6253, allocations: 0.8721 MB / 1.215 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.6253, allocations: 4 kB / 1.215 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6253, allocations: 0 / 1.215 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/0.6259, allocations: 84.86 kB / 1.215 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/0.6266, allocations: 171.8 kB / 1.215 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.6289, allocations: 1.531 MB / 1.217 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008313/0.6297, allocations: 108.5 kB / 1.217 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/0.6298, allocations: 39.92 kB / 1.217 GB, free: 1.688 MB / 0.9669 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005745/0.6304, allocations: 271.4 kB / 1.217 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.6306, allocations: 82.97 kB / 1.217 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.6331, allocations: 1.077 MB / 1.218 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.6331, allocations: 16 kB / 1.218 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6331, allocations: 3.953 kB / 1.218 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6331, allocations: 3.984 kB / 1.218 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.6344, allocations: 0.8997 MB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.6344, allocations: 0 / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/0.635, allocations: 159.7 kB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004871/0.6355, allocations: 80.78 kB / 1.219 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/0.6356, allocations: 27.97 kB / 1.219 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.6375, allocations: 1.559 MB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6375, allocations: 0 / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.6403, allocations: 1.336 MB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005744/0.6409, allocations: 295.5 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.6411, allocations: 20 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.6418, allocations: 82.23 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.642, allocations: 72.89 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/0.642, allocations: 39.97 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006797/0.6427, allocations: 455 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6427, allocations: 4 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001096/0.6438, allocations: 323.3 kB / 1.223 GB, free: 10.67 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/0.6454, allocations: 0.5999 MB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.6473, allocations: 0.8353 MB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.6474, allocations: 4 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009804/0.6483, allocations: 0.5158 MB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.6497, allocations: 285.8 kB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.6539, allocations: 2.207 MB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008782/0.6548, allocations: 1.031 MB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001002/0.6558, allocations: 258.8 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.6561, allocations: 107.4 kB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of SimCode: time 1.092e-06/0.6561, allocations: 0 / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of Templates: time 0.02889/0.685, allocations: 14.06 MB / 1.243 GB, free: 7.035 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches