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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007765/0.007765, allocations: 105.9 kB / 15.73 MB, free: 6.004 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.001547/0.001547, allocations: 189 kB / 16.67 MB, free: 5.926 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.89 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9722/0.9737, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008247/0.982, allocations: 5.242 MB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1775/1.159, allocations: 150.7 MB / 1.36 GB, free: 1.121 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/1.161, allocations: 15.94 kB / 1.36 GB, free: 1.105 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009651/1.162, allocations: 202.1 kB / 1.36 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002398/1.164, allocations: 0.5704 MB / 1.361 GB, free: 344 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003191/1.167, allocations: 0.8487 MB / 1.362 GB, free: 15.49 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002815/1.17, allocations: 1.459 MB / 1.363 GB, free: 14.03 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/1.172, allocations: 0.6074 MB / 1.364 GB, free: 13.4 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/1.174, allocations: 0.4984 MB / 1.364 GB, free: 12.9 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/1.175, allocations: 0.5289 MB / 1.365 GB, free: 12.37 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003593/1.176, allocations: 124 kB / 1.365 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/1.177, allocations: 491.6 kB / 1.365 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004156/1.178, allocations: 303 kB / 1.365 GB, free: 11.47 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008089/1.178, allocations: 0.5946 MB / 1.366 GB, free: 10.88 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002127/1.181, allocations: 1.684 MB / 1.368 GB, free: 9.188 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.181, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.063e-06/1.181, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.373e-05/1.181, allocations: 3.938 kB / 1.368 GB, free: 9.184 MB / 1.092 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.002705/1.183, allocations: 1.493 MB / 1.369 GB, free: 7.637 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.183, allocations: 8.031 kB / 1.369 GB, free: 7.629 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009741/1.184, allocations: 187.3 kB / 1.369 GB, free: 7.445 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/1.186, allocations: 0.7935 MB / 1.37 GB, free: 6.609 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/1.186, allocations: 70 kB / 1.37 GB, free: 6.543 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/1.186, allocations: 84 kB / 1.37 GB, free: 6.461 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/1.188, allocations: 0.9535 MB / 1.371 GB, free: 5.465 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/1.188, allocations: 0 / 1.371 GB, free: 5.465 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/1.188, allocations: 40 kB / 1.371 GB, free: 5.426 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/1.188, allocations: 20 kB / 1.371 GB, free: 5.406 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/1.19, allocations: 1.136 MB / 1.372 GB, free: 4.273 MB / 1.092 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.004827/1.195, allocations: 2.775 MB / 1.375 GB, free: 1.375 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.196, allocations: 0.8436 MB / 1.376 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/1.197, allocations: 329.6 kB / 1.376 GB, free: 204 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.804e-05/1.197, allocations: 24.7 kB / 1.376 GB, free: 180 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009817/1.198, allocations: 0.5141 MB / 1.377 GB, free: 15.64 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 3.076e-06/1.198, allocations: 3.938 kB / 1.377 GB, free: 15.64 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.003419/1.202, allocations: 1.239 MB / 1.378 GB, free: 14.37 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/1.202, allocations: 196.9 kB / 1.378 GB, free: 14.14 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008907/1.203, allocations: 0.6488 MB / 1.379 GB, free: 13.48 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/1.203, allocations: 49.64 kB / 1.379 GB, free: 13.43 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/1.203, allocations: 408.5 kB / 1.379 GB, free: 13.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/1.203, allocations: 279.9 kB / 1.379 GB, free: 12.75 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/1.204, allocations: 174.5 kB / 1.38 GB, free: 12.57 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.204, allocations: 386.8 kB / 1.38 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/1.204, allocations: 281.8 kB / 1.38 GB, free: 11.91 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/1.205, allocations: 371.1 kB / 1.381 GB, free: 11.53 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/1.206, allocations: 0.632 MB / 1.381 GB, free: 10.89 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.206, allocations: 0 / 1.381 GB, free: 10.89 MB / 1.107 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001967/1.208, allocations: 0.8877 MB / 1.382 GB, free: 9.992 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.208, allocations: 8 kB / 1.382 GB, free: 9.984 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.208, allocations: 3.938 kB / 1.382 GB, free: 9.98 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/1.209, allocations: 76.88 kB / 1.382 GB, free: 9.902 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/1.209, allocations: 171.8 kB / 1.382 GB, free: 9.734 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/1.212, allocations: 1.642 MB / 1.384 GB, free: 7.949 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/1.212, allocations: 91.39 kB / 1.384 GB, free: 7.859 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/1.213, allocations: 39.97 kB / 1.384 GB, free: 7.82 MB / 1.107 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.0004537/1.213, allocations: 267.4 kB / 1.384 GB, free: 7.551 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/1.213, allocations: 82.97 kB / 1.384 GB, free: 7.469 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/1.216, allocations: 1.097 MB / 1.385 GB, free: 6.352 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.216, allocations: 12 kB / 1.385 GB, free: 6.34 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/1.216, allocations: 0 / 1.385 GB, free: 6.34 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.216, allocations: 7.984 kB / 1.386 GB, free: 6.332 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/1.217, allocations: 0.9307 MB / 1.386 GB, free: 5.352 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.217, allocations: 0 / 1.386 GB, free: 5.352 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/1.217, allocations: 159.7 kB / 1.387 GB, free: 5.195 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/1.218, allocations: 72.78 kB / 1.387 GB, free: 5.121 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/1.218, allocations: 31.92 kB / 1.387 GB, free: 5.09 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/1.22, allocations: 1.65 MB / 1.388 GB, free: 3.293 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.22, allocations: 4.062 kB / 1.388 GB, free: 3.289 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/1.222, allocations: 1.367 MB / 1.39 GB, free: 1.902 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/1.223, allocations: 279.7 kB / 1.39 GB, free: 1.609 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.223, allocations: 23.94 kB / 1.39 GB, free: 1.586 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/1.224, allocations: 61.72 kB / 1.39 GB, free: 1.527 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.224, allocations: 73.03 kB / 1.39 GB, free: 1.457 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.457e-05/1.224, allocations: 39.97 kB / 1.39 GB, free: 1.418 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006287/1.224, allocations: 467 kB / 1.391 GB, free: 0.9688 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.21e-07/1.224, allocations: 0 / 1.391 GB, free: 0.9688 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000939/1.225, allocations: 339.2 kB / 1.391 GB, free: 0.6367 MB / 1.107 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.001512/1.227, allocations: 0.6023 MB / 1.391 GB, free: 212 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001761/1.229, allocations: 0.8546 MB / 1.392 GB, free: 15.34 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.229, allocations: 7.984 kB / 1.392 GB, free: 15.33 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000914/1.23, allocations: 0.5355 MB / 1.393 GB, free: 14.79 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.231, allocations: 300 kB / 1.393 GB, free: 14.51 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/1.234, allocations: 1.84 MB / 1.395 GB, free: 12.64 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/1.235, allocations: 1.04 MB / 1.396 GB, free: 11.57 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007588/1.236, allocations: 266.9 kB / 1.396 GB, free: 11.31 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/1.236, allocations: 111.3 kB / 1.396 GB, free: 11.2 MB / 1.123 GB Notification: Performance of SimCode: time 7.61e-07/1.236, allocations: 0 / 1.396 GB, free: 11.2 MB / 1.123 GB Notification: Performance of Templates: time 0.02679/1.263, allocations: 15.57 MB / 1.411 GB, free: 11.8 MB / 1.139 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches