Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005807/0.005807, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001399/0.001399, allocations: 191.9 kB / 16.67 MB, free: 5.969 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.625/2.625, allocations: 472.6 MB / 0.7453 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.89 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8264, allocations: 159.9 MB / 1.226 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2695/1.096, allocations: 176.5 MB / 1.398 GB, free: 12.38 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0162/1.112, allocations: 10.9 MB / 1.409 GB, free: 1.441 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/1.114, allocations: 31.81 kB / 1.409 GB, free: 1.41 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/1.116, allocations: 420.7 kB / 1.409 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003658/1.119, allocations: 1.09 MB / 1.41 GB, free: 15.91 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004666/1.124, allocations: 1.704 MB / 1.412 GB, free: 14.21 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004743/1.129, allocations: 2.377 MB / 1.414 GB, free: 11.82 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/1.132, allocations: 1.417 MB / 1.416 GB, free: 10.37 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/1.136, allocations: 1.257 MB / 1.417 GB, free: 9.125 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/1.137, allocations: 0.8129 MB / 1.418 GB, free: 8.309 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/1.137, allocations: 152 kB / 1.418 GB, free: 8.16 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/1.141, allocations: 1.419 MB / 1.419 GB, free: 6.738 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004668/1.141, allocations: 446.7 kB / 1.42 GB, free: 6.301 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/1.142, allocations: 0.7891 MB / 1.42 GB, free: 5.508 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004483/1.147, allocations: 2.584 MB / 1.423 GB, free: 2.914 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.147, allocations: 4 kB / 1.423 GB, free: 2.91 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.192e-06/1.147, allocations: 0 / 1.423 GB, free: 2.91 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.2e-05/1.147, allocations: 3.984 kB / 1.423 GB, free: 2.906 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003401/1.15, allocations: 1.935 MB / 1.425 GB, free: 0.9062 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.15, allocations: 12.03 kB / 1.425 GB, free: 0.8945 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/1.152, allocations: 358.7 kB / 1.425 GB, free: 0.543 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/1.154, allocations: 0.9886 MB / 1.426 GB, free: 15.51 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/1.154, allocations: 86.33 kB / 1.426 GB, free: 15.42 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/1.154, allocations: 120 kB / 1.426 GB, free: 15.3 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/1.156, allocations: 1.302 MB / 1.427 GB, free: 13.94 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/1.157, allocations: 3.938 kB / 1.427 GB, free: 13.93 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.157, allocations: 48 kB / 1.428 GB, free: 13.89 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/1.157, allocations: 32 kB / 1.428 GB, free: 13.86 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/1.159, allocations: 1.453 MB / 1.429 GB, free: 12.39 MB / 1.154 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.006031/1.165, allocations: 4.039 MB / 1.433 GB, free: 8.145 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/1.167, allocations: 1.215 MB / 1.434 GB, free: 6.906 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007739/1.168, allocations: 454.5 kB / 1.435 GB, free: 6.461 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007411/1.169, allocations: 429.3 kB / 1.435 GB, free: 5.969 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/1.17, allocations: 0.6644 MB / 1.436 GB, free: 5.281 MB / 1.154 GB Notification: Performance of pre-optimization done (n=106): time 2.635e-06/1.17, allocations: 0 / 1.436 GB, free: 5.281 MB / 1.154 GB Notification: Performance of matching and sorting (n=106): time 0.004018/1.174, allocations: 1.603 MB / 1.437 GB, free: 3.656 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.174, allocations: 204.8 kB / 1.437 GB, free: 3.414 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/1.175, allocations: 0.8785 MB / 1.438 GB, free: 2.512 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.963e-05/1.176, allocations: 53.69 kB / 1.438 GB, free: 2.453 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/1.176, allocations: 0.5208 MB / 1.439 GB, free: 1.926 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/1.176, allocations: 368.8 kB / 1.439 GB, free: 1.562 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/1.177, allocations: 210.9 kB / 1.439 GB, free: 1.348 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.177, allocations: 349.9 kB / 1.44 GB, free: 1 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000722/1.178, allocations: 382.4 kB / 1.44 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008943/1.178, allocations: 0.5085 MB / 1.441 GB, free: 92 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/1.18, allocations: 0.868 MB / 1.441 GB, free: 15.21 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/1.18, allocations: 0 / 1.441 GB, free: 15.21 MB / 1.17 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002555/1.183, allocations: 1.173 MB / 1.443 GB, free: 14.02 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.183, allocations: 12 kB / 1.443 GB, free: 14.01 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.183, allocations: 0 / 1.443 GB, free: 14.01 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/1.183, allocations: 84.77 kB / 1.443 GB, free: 13.92 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/1.184, allocations: 231.7 kB / 1.443 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/1.186, allocations: 1.648 MB / 1.444 GB, free: 11.91 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009911/1.187, allocations: 131.2 kB / 1.445 GB, free: 11.78 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.187, allocations: 47.95 kB / 1.445 GB, free: 11.73 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 127 * 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.0006004/1.188, allocations: 323.4 kB / 1.445 GB, free: 11.4 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/1.188, allocations: 127.2 kB / 1.445 GB, free: 11.28 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/1.191, allocations: 1.501 MB / 1.447 GB, free: 9.754 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/1.191, allocations: 8 kB / 1.447 GB, free: 9.746 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/1.191, allocations: 4 kB / 1.447 GB, free: 9.742 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/1.191, allocations: 11.97 kB / 1.447 GB, free: 9.73 MB / 1.17 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 postOpt removeSimpleEquations (simulation): time 0.004658/1.196, allocations: 2.843 MB / 1.449 GB, free: 6.781 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.196, allocations: 0 / 1.449 GB, free: 6.781 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008766/1.197, allocations: 195.7 kB / 1.45 GB, free: 6.59 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004346/1.197, allocations: 76.88 kB / 1.45 GB, free: 6.512 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-05/1.198, allocations: 35.92 kB / 1.45 GB, free: 6.477 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/1.199, allocations: 1.681 MB / 1.451 GB, free: 4.652 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.199, allocations: 4.062 kB / 1.451 GB, free: 4.648 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003513/1.203, allocations: 1.87 MB / 1.453 GB, free: 2.742 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005854/1.204, allocations: 348 kB / 1.453 GB, free: 2.383 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/1.204, allocations: 24 kB / 1.453 GB, free: 2.359 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008473/1.205, allocations: 67.92 kB / 1.454 GB, free: 2.293 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.205, allocations: 96.81 kB / 1.454 GB, free: 2.199 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/1.205, allocations: 51.97 kB / 1.454 GB, free: 2.148 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008987/1.206, allocations: 0.6183 MB / 1.454 GB, free: 1.52 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.996e-06/1.206, allocations: 4 kB / 1.454 GB, free: 1.516 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001177/1.207, allocations: 470.8 kB / 1.455 GB, free: 1.055 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * 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.001624/1.209, allocations: 0.7142 MB / 1.455 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002342/1.211, allocations: 1.101 MB / 1.456 GB, free: 15.4 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.211, allocations: 3.938 kB / 1.456 GB, free: 15.39 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.212, allocations: 0.6646 MB / 1.457 GB, free: 14.72 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/1.214, allocations: 0.5202 MB / 1.458 GB, free: 14.22 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/1.218, allocations: 2.409 MB / 1.46 GB, free: 11.77 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/1.219, allocations: 1.166 MB / 1.461 GB, free: 10.57 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001154/1.22, allocations: 361.8 kB / 1.461 GB, free: 10.22 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/1.221, allocations: 135.4 kB / 1.462 GB, free: 10.09 MB / 1.186 GB Notification: Performance of SimCode: time 6.11e-07/1.221, allocations: 0 / 1.462 GB, free: 10.09 MB / 1.186 GB Notification: Performance of Templates: time 0.03879/1.26, allocations: 24.04 MB / 1.485 GB, free: 2.336 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches