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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_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.007416/0.007416, allocations: 97.36 kB / 15.73 MB, free: 6.043 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.001946/0.001946, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.677/2.677, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.0065/0.3341, allocations: 5.132 MB / 1.226 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8853/1.219, allocations: 151.1 MB / 1.373 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008351/1.22, allocations: 16.44 kB / 1.373 GB, free: 10.69 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007525/1.221, allocations: 202.9 kB / 1.373 GB, free: 10.56 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001985/1.223, allocations: 0.5651 MB / 1.374 GB, free: 10.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/1.225, allocations: 0.8417 MB / 1.375 GB, free: 9.801 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001659/1.227, allocations: 1.419 MB / 1.376 GB, free: 9.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000713/1.227, allocations: 432.7 kB / 1.376 GB, free: 8.809 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000729/1.228, allocations: 0.4897 MB / 1.377 GB, free: 8.566 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/1.229, allocations: 0.5152 MB / 1.377 GB, free: 8.293 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/1.229, allocations: 118.2 kB / 1.378 GB, free: 8.293 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/1.23, allocations: 491.3 kB / 1.378 GB, free: 8.176 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000261/1.23, allocations: 300.5 kB / 1.378 GB, free: 7.984 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/1.231, allocations: 0.5705 MB / 1.379 GB, free: 7.605 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/1.233, allocations: 1.675 MB / 1.381 GB, free: 6.594 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.233, allocations: 0 / 1.381 GB, free: 6.594 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/1.233, allocations: 0 / 1.381 GB, free: 6.594 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.616e-05/1.233, allocations: 0 / 1.381 GB, free: 6.594 MB / 1.076 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.00255/1.235, allocations: 1.497 MB / 1.382 GB, free: 5.414 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.235, allocations: 8.625 kB / 1.382 GB, free: 5.414 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009966/1.236, allocations: 198.1 kB / 1.382 GB, free: 5.316 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/1.237, allocations: 0.785 MB / 1.383 GB, free: 4.672 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/1.237, allocations: 66.28 kB / 1.383 GB, free: 4.641 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/1.238, allocations: 82.84 kB / 1.383 GB, free: 4.613 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/1.239, allocations: 0.9384 MB / 1.384 GB, free: 4.012 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.239, allocations: 0 / 1.384 GB, free: 4.012 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-05/1.239, allocations: 36.91 kB / 1.384 GB, free: 3.984 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/1.239, allocations: 23.38 kB / 1.384 GB, free: 3.984 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/1.241, allocations: 1.122 MB / 1.385 GB, free: 3.449 MB / 1.076 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.004156/1.245, allocations: 2.744 MB / 1.388 GB, free: 1.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/1.247, allocations: 0.7687 MB / 1.389 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/1.247, allocations: 279 kB / 1.389 GB, free: 0.707 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.556e-05/1.247, allocations: 27.84 kB / 1.389 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008487/1.248, allocations: 0.494 MB / 1.389 GB, free: 384 kB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 4.789e-06/1.248, allocations: 3.984 kB / 1.389 GB, free: 380 kB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003457/1.252, allocations: 1.207 MB / 1.391 GB, free: 15.71 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.742e-05/1.252, allocations: 189.7 kB / 1.391 GB, free: 15.5 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008763/1.253, allocations: 0.6508 MB / 1.391 GB, free: 15.11 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.88e-05/1.253, allocations: 47.05 kB / 1.391 GB, free: 15.06 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/1.253, allocations: 409.1 kB / 1.392 GB, free: 14.7 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/1.253, allocations: 283.6 kB / 1.392 GB, free: 14.46 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/1.254, allocations: 168.4 kB / 1.392 GB, free: 14.36 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.254, allocations: 388.9 kB / 1.393 GB, free: 13.98 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/1.254, allocations: 266.2 kB / 1.393 GB, free: 13.86 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/1.255, allocations: 371.3 kB / 1.393 GB, free: 13.64 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/1.256, allocations: 0.6074 MB / 1.394 GB, free: 13.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/1.256, allocations: 3.984 kB / 1.394 GB, free: 13.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002141/1.258, allocations: 0.8601 MB / 1.395 GB, free: 12.88 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/1.258, allocations: 9.906 kB / 1.395 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.258, allocations: 9.062 kB / 1.395 GB, free: 12.87 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/1.259, allocations: 76.44 kB / 1.395 GB, free: 12.83 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/1.26, allocations: 174.9 kB / 1.395 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/1.262, allocations: 1.634 MB / 1.397 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009289/1.263, allocations: 87.39 kB / 1.397 GB, free: 11.13 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.263, allocations: 43.69 kB / 1.397 GB, free: 11.11 MB / 1.092 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 (97): * Single equations (assignments): 96 * 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.0006255/1.264, allocations: 274.5 kB / 1.397 GB, free: 10.9 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/1.264, allocations: 91.94 kB / 1.397 GB, free: 10.85 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/1.267, allocations: 1.074 MB / 1.398 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.267, allocations: 9.625 kB / 1.398 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.267, allocations: 0 / 1.398 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.267, allocations: 7.969 kB / 1.398 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/1.268, allocations: 0.9019 MB / 1.399 GB, free: 9.562 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.268, allocations: 1.688 kB / 1.399 GB, free: 9.562 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/1.269, allocations: 148.6 kB / 1.399 GB, free: 9.531 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/1.269, allocations: 73.69 kB / 1.399 GB, free: 9.492 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/1.269, allocations: 28.45 kB / 1.399 GB, free: 9.473 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/1.271, allocations: 1.665 MB / 1.401 GB, free: 7.848 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.271, allocations: 1.375 kB / 1.401 GB, free: 7.848 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/1.274, allocations: 1.342 MB / 1.402 GB, free: 7.125 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/1.275, allocations: 273.5 kB / 1.402 GB, free: 6.887 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/1.275, allocations: 17.84 kB / 1.402 GB, free: 6.875 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007072/1.275, allocations: 72.14 kB / 1.402 GB, free: 6.836 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.276, allocations: 75.81 kB / 1.403 GB, free: 6.797 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/1.276, allocations: 36.91 kB / 1.403 GB, free: 6.781 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006611/1.276, allocations: 462.8 kB / 1.403 GB, free: 6.52 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.276, allocations: 0 / 1.403 GB, free: 6.52 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001171/1.278, allocations: 336.2 kB / 1.403 GB, free: 6.422 MB / 1.092 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 (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.00162/1.279, allocations: 0.6155 MB / 1.404 GB, free: 6.125 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001903/1.281, allocations: 0.8074 MB / 1.405 GB, free: 5.691 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.281, allocations: 2.75 kB / 1.405 GB, free: 5.691 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.282, allocations: 0.4894 MB / 1.405 GB, free: 5.406 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/1.283, allocations: 302.5 kB / 1.405 GB, free: 5.258 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/1.287, allocations: 1.808 MB / 1.407 GB, free: 4.172 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/1.288, allocations: 1.029 MB / 1.408 GB, free: 3.324 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008397/1.289, allocations: 265 kB / 1.409 GB, free: 3.191 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/1.289, allocations: 102.7 kB / 1.409 GB, free: 3.16 MB / 1.092 GB Notification: Performance of SimCode: time 6.41e-07/1.289, allocations: 2.625 kB / 1.409 GB, free: 3.16 MB / 1.092 GB Notification: Performance of Templates: time 0.02704/1.316, allocations: 15.47 MB / 1.424 GB, free: 4.703 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) 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) Reference file matches