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.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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 106 kB / 16.27 MB, free: 6.414 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.001332/0.001332, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.72/2.72, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 56.17 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7824/0.7843, allocations: 162.2 MB / 1.083 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007887/0.7923, allocations: 5.23 MB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1999/0.9922, allocations: 150.7 MB / 1.235 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.9934, allocations: 15.94 kB / 1.235 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.9941, allocations: 194.1 kB / 1.235 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.9962, allocations: 0.5743 MB / 1.236 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.9985, allocations: 0.854 MB / 1.237 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001773/1, allocations: 1.436 MB / 1.238 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009949/1.001, allocations: 0.5996 MB / 1.239 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007321/1.002, allocations: 0.4945 MB / 1.239 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/1.003, allocations: 0.525 MB / 1.24 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/1.003, allocations: 124 kB / 1.24 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009811/1.004, allocations: 467.7 kB / 1.24 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003152/1.004, allocations: 303 kB / 1.241 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005848/1.005, allocations: 0.5946 MB / 1.241 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/1.007, allocations: 1.64 MB / 1.243 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.007, allocations: 0 / 1.243 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/1.007, allocations: 0 / 1.243 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.818e-05/1.007, allocations: 4 kB / 1.243 GB, free: 10.66 MB / 0.9669 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.002743/1.01, allocations: 1.497 MB / 1.244 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/1.01, allocations: 8.031 kB / 1.244 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009461/1.011, allocations: 191.3 kB / 1.244 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/1.012, allocations: 0.7662 MB / 1.245 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/1.012, allocations: 62 kB / 1.245 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.012, allocations: 87.98 kB / 1.245 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/1.014, allocations: 0.9574 MB / 1.246 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/1.014, allocations: 3.938 kB / 1.246 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/1.014, allocations: 36 kB / 1.246 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/1.014, allocations: 24 kB / 1.246 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/1.016, allocations: 1.136 MB / 1.247 GB, free: 5.77 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.00463/1.02, allocations: 2.877 MB / 1.25 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/1.022, allocations: 0.8474 MB / 1.251 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/1.023, allocations: 326.6 kB / 1.251 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.091e-05/1.023, allocations: 36.67 kB / 1.251 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/1.024, allocations: 0.5023 MB / 1.252 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=85): time 2.305e-06/1.024, allocations: 0 / 1.252 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85): time 0.003363/1.027, allocations: 1.243 MB / 1.253 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.027, allocations: 192.9 kB / 1.253 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009346/1.028, allocations: 0.6527 MB / 1.254 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.136e-05/1.028, allocations: 41.7 kB / 1.254 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/1.029, allocations: 420.5 kB / 1.254 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/1.029, allocations: 275.9 kB / 1.255 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/1.029, allocations: 174.5 kB / 1.255 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.03, allocations: 386.8 kB / 1.255 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/1.03, allocations: 281.8 kB / 1.255 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006853/1.031, allocations: 371.1 kB / 1.256 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.032, allocations: 0.6281 MB / 1.256 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.032, allocations: 0 / 1.256 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002119/1.034, allocations: 0.8916 MB / 1.257 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.034, allocations: 8 kB / 1.257 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.034, allocations: 0 / 1.257 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/1.035, allocations: 84.77 kB / 1.257 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/1.035, allocations: 175.7 kB / 1.258 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/1.038, allocations: 1.63 MB / 1.259 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008708/1.039, allocations: 87.33 kB / 1.259 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/1.039, allocations: 40.03 kB / 1.259 GB, free: 9.191 MB / 0.9825 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 (100): * Single equations (assignments): 99 * 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.0005068/1.039, allocations: 275.9 kB / 1.26 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/1.04, allocations: 90.97 kB / 1.26 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/1.042, allocations: 1.101 MB / 1.261 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.042, allocations: 8 kB / 1.261 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/1.042, allocations: 0 / 1.261 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/1.042, allocations: 7.969 kB / 1.261 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/1.043, allocations: 0.9307 MB / 1.262 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.043, allocations: 0 / 1.262 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006521/1.044, allocations: 155.7 kB / 1.262 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/1.045, allocations: 72.78 kB / 1.262 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/1.045, allocations: 27.98 kB / 1.262 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/1.047, allocations: 1.647 MB / 1.263 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.047, allocations: 4.094 kB / 1.263 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/1.05, allocations: 1.371 MB / 1.265 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/1.05, allocations: 279.7 kB / 1.265 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/1.05, allocations: 23.94 kB / 1.265 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/1.051, allocations: 66.66 kB / 1.265 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.051, allocations: 76.97 kB / 1.265 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-05/1.051, allocations: 35.97 kB / 1.265 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006348/1.052, allocations: 475 kB / 1.266 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/1.052, allocations: 0 / 1.266 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008769/1.053, allocations: 335.2 kB / 1.266 GB, free: 1.992 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 (96): * Single equations (assignments): 90 * 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.001967/1.055, allocations: 0.5987 MB / 1.267 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002726/1.057, allocations: 1.073 MB / 1.268 GB, free: 492 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.057, allocations: 0 / 1.268 GB, free: 492 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.058, allocations: 0.5394 MB / 1.268 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.06, allocations: 304.7 kB / 1.268 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/1.063, allocations: 1.908 MB / 1.27 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/1.064, allocations: 1.039 MB / 1.271 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/1.064, allocations: 115.4 kB / 1.271 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.064, allocations: 0 / 1.271 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of Templates: time 0.0284/1.093, allocations: 19.09 MB / 1.29 GB, free: 9.5 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches