Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_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_9_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.001107/0.001107, allocations: 108.4 kB / 16.41 MB, free: 6.453 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.001089/0.001089, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.899, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2134/1.112, allocations: 176 MB / 1.26 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01687/1.129, allocations: 10.86 MB / 1.271 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/1.131, allocations: 31.81 kB / 1.271 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/1.133, allocations: 400.9 kB / 1.272 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003766/1.137, allocations: 1.081 MB / 1.273 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004838/1.141, allocations: 1.716 MB / 1.274 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003839/1.145, allocations: 2.303 MB / 1.276 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002469/1.148, allocations: 1.443 MB / 1.278 GB, free: 11.9 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004907/1.153, allocations: 1.29 MB / 1.279 GB, free: 10.62 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/1.154, allocations: 0.7896 MB / 1.28 GB, free: 9.828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002365/1.154, allocations: 160 kB / 1.28 GB, free: 9.672 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/1.157, allocations: 1.412 MB / 1.281 GB, free: 8.258 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000424/1.158, allocations: 446.7 kB / 1.282 GB, free: 7.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008833/1.159, allocations: 0.7812 MB / 1.283 GB, free: 7.035 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004274/1.163, allocations: 2.547 MB / 1.285 GB, free: 4.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.163, allocations: 4 kB / 1.285 GB, free: 4.477 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.983e-06/1.163, allocations: 0 / 1.285 GB, free: 4.477 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.162e-05/1.163, allocations: 0 / 1.285 GB, free: 4.477 MB / 1.014 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.00341/1.167, allocations: 1.868 MB / 1.287 GB, free: 2.551 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.167, allocations: 12.03 kB / 1.287 GB, free: 2.539 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/1.169, allocations: 345.8 kB / 1.287 GB, free: 2.199 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/1.17, allocations: 0.9914 MB / 1.288 GB, free: 1.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/1.17, allocations: 90.33 kB / 1.288 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/1.17, allocations: 112 kB / 1.288 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/1.173, allocations: 1.298 MB / 1.29 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.173, allocations: 0 / 1.29 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.173, allocations: 52 kB / 1.29 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/1.173, allocations: 32 kB / 1.29 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/1.175, allocations: 1.449 MB / 1.291 GB, free: 14.06 MB / 1.029 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.006087/1.181, allocations: 3.821 MB / 1.295 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/1.184, allocations: 1.225 MB / 1.296 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007819/1.184, allocations: 447.6 kB / 1.297 GB, free: 8.402 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007363/1.185, allocations: 429.3 kB / 1.297 GB, free: 7.906 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/1.186, allocations: 0.6644 MB / 1.298 GB, free: 7.227 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 2.615e-06/1.186, allocations: 0 / 1.298 GB, free: 7.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=106): time 0.004064/1.19, allocations: 1.602 MB / 1.299 GB, free: 5.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.191, allocations: 192.9 kB / 1.299 GB, free: 5.363 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/1.192, allocations: 0.8824 MB / 1.3 GB, free: 4.457 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/1.192, allocations: 49.7 kB / 1.3 GB, free: 4.402 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/1.192, allocations: 0.516 MB / 1.301 GB, free: 3.879 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/1.193, allocations: 350.9 kB / 1.301 GB, free: 3.531 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/1.193, allocations: 210.8 kB / 1.301 GB, free: 3.316 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.193, allocations: 349.9 kB / 1.302 GB, free: 2.969 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007357/1.194, allocations: 378.4 kB / 1.302 GB, free: 2.602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/1.195, allocations: 0.5085 MB / 1.303 GB, free: 2.066 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/1.196, allocations: 0.8718 MB / 1.303 GB, free: 1.176 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.196, allocations: 4 kB / 1.303 GB, free: 1.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002579/1.199, allocations: 1.161 MB / 1.305 GB, free: 4 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/1.199, allocations: 14.27 kB / 1.305 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.199, allocations: 0 / 1.305 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/1.2, allocations: 88.72 kB / 1.305 GB, free: 15.9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009944/1.201, allocations: 227.7 kB / 1.305 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/1.203, allocations: 1.654 MB / 1.306 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/1.204, allocations: 141.3 kB / 1.307 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-05/1.204, allocations: 43.97 kB / 1.307 GB, free: 13.7 MB / 1.045 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.0006501/1.205, allocations: 326 kB / 1.307 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/1.205, allocations: 122.5 kB / 1.307 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/1.208, allocations: 1.501 MB / 1.309 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/1.208, allocations: 8 kB / 1.309 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.208, allocations: 4 kB / 1.309 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.208, allocations: 11.97 kB / 1.309 GB, free: 11.7 MB / 1.045 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.004857/1.213, allocations: 2.839 MB / 1.311 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.213, allocations: 0 / 1.311 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/1.214, allocations: 203.7 kB / 1.312 GB, free: 8.551 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/1.214, allocations: 72.83 kB / 1.312 GB, free: 8.477 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/1.214, allocations: 31.97 kB / 1.312 GB, free: 8.445 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/1.216, allocations: 1.67 MB / 1.313 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.216, allocations: 0 / 1.313 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/1.22, allocations: 1.87 MB / 1.315 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006297/1.221, allocations: 339.2 kB / 1.315 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/1.221, allocations: 27.91 kB / 1.315 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/1.222, allocations: 76.2 kB / 1.315 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/1.222, allocations: 104.8 kB / 1.316 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.045e-05/1.222, allocations: 47.97 kB / 1.316 GB, free: 4.121 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009073/1.223, allocations: 0.6222 MB / 1.316 GB, free: 3.488 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.7e-07/1.223, allocations: 0 / 1.316 GB, free: 3.488 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001241/1.224, allocations: 451 kB / 1.317 GB, free: 3.047 MB / 1.045 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.001657/1.226, allocations: 0.7096 MB / 1.317 GB, free: 2.516 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002321/1.228, allocations: 1.101 MB / 1.318 GB, free: 1.402 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.228, allocations: 0 / 1.318 GB, free: 1.402 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/1.229, allocations: 0.6529 MB / 1.319 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/1.232, allocations: 0.5051 MB / 1.32 GB, free: 260 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/1.237, allocations: 2.541 MB / 1.322 GB, free: 13.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007091/1.238, allocations: 1.163 MB / 1.323 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/1.238, allocations: 155.4 kB / 1.323 GB, free: 12.32 MB / 1.061 GB Notification: Performance of SimCode: time 1.082e-06/1.238, allocations: 0 / 1.323 GB, free: 12.32 MB / 1.061 GB Notification: Performance of Templates: time 0.03589/1.274, allocations: 26.82 MB / 1.35 GB, free: 1.625 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches