Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001122/0.001122, allocations: 106.6 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.001172/0.001172, allocations: 192.2 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.313/1.313, 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 10.1.1-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 68.11 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8685/0.87, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1886/1.059, allocations: 176.5 MB / 1.34 GB, free: 2.641 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01496/1.074, allocations: 10.91 MB / 1.35 GB, free: 7.699 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/1.075, allocations: 31.81 kB / 1.35 GB, free: 7.668 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/1.077, allocations: 416.7 kB / 1.351 GB, free: 7.258 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00434/1.081, allocations: 1.123 MB / 1.352 GB, free: 6.133 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005494/1.087, allocations: 1.727 MB / 1.354 GB, free: 4.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003454/1.09, allocations: 2.381 MB / 1.356 GB, free: 2.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/1.092, allocations: 1.404 MB / 1.357 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/1.096, allocations: 1.314 MB / 1.359 GB, free: 15.28 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/1.097, allocations: 0.8013 MB / 1.359 GB, free: 14.47 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004998/1.098, allocations: 160 kB / 1.359 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/1.101, allocations: 1.415 MB / 1.361 GB, free: 12.9 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006596/1.102, allocations: 454.5 kB / 1.361 GB, free: 12.45 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/1.103, allocations: 0.7814 MB / 1.362 GB, free: 11.67 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004764/1.108, allocations: 2.578 MB / 1.365 GB, free: 9.082 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.108, allocations: 0 / 1.365 GB, free: 9.082 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.275e-06/1.108, allocations: 0 / 1.365 GB, free: 9.082 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.938e-05/1.108, allocations: 0 / 1.365 GB, free: 9.082 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004481/1.112, allocations: 1.895 MB / 1.366 GB, free: 7.125 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.112, allocations: 12.92 kB / 1.366 GB, free: 7.113 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/1.115, allocations: 345.8 kB / 1.367 GB, free: 6.773 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/1.117, allocations: 0.9876 MB / 1.368 GB, free: 5.742 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/1.117, allocations: 90.33 kB / 1.368 GB, free: 5.652 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/1.117, allocations: 112 kB / 1.368 GB, free: 5.543 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/1.119, allocations: 1.298 MB / 1.369 GB, free: 4.18 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/1.12, allocations: 0 / 1.369 GB, free: 4.18 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/1.12, allocations: 55.94 kB / 1.369 GB, free: 4.125 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/1.12, allocations: 28 kB / 1.369 GB, free: 4.098 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/1.122, allocations: 1.449 MB / 1.371 GB, free: 2.641 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.006685/1.129, allocations: 4.026 MB / 1.375 GB, free: 14.4 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/1.131, allocations: 1.219 MB / 1.376 GB, free: 13.17 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/1.132, allocations: 449.3 kB / 1.376 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007553/1.133, allocations: 425.3 kB / 1.377 GB, free: 12.24 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/1.134, allocations: 0.6605 MB / 1.377 GB, free: 11.55 MB / 1.107 GB Notification: Performance of pre-optimization done (n=106): time 4.208e-06/1.134, allocations: 0 / 1.377 GB, free: 11.55 MB / 1.107 GB Notification: Performance of matching and sorting (n=106): time 0.004354/1.138, allocations: 1.606 MB / 1.379 GB, free: 9.926 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.138, allocations: 192.9 kB / 1.379 GB, free: 9.695 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/1.14, allocations: 0.8824 MB / 1.38 GB, free: 8.789 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.14, allocations: 45.7 kB / 1.38 GB, free: 8.738 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/1.14, allocations: 0.5121 MB / 1.38 GB, free: 8.219 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000326/1.141, allocations: 354.9 kB / 1.381 GB, free: 7.867 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/1.141, allocations: 214.7 kB / 1.381 GB, free: 7.648 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.141, allocations: 353.8 kB / 1.381 GB, free: 7.297 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007676/1.142, allocations: 386.4 kB / 1.382 GB, free: 6.922 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/1.143, allocations: 0.5046 MB / 1.382 GB, free: 6.387 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/1.144, allocations: 0.8641 MB / 1.383 GB, free: 5.508 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.144, allocations: 4 kB / 1.383 GB, free: 5.504 MB / 1.107 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002647/1.147, allocations: 1.168 MB / 1.384 GB, free: 4.32 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.147, allocations: 7.938 kB / 1.384 GB, free: 4.312 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.147, allocations: 4 kB / 1.384 GB, free: 4.309 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/1.148, allocations: 80.88 kB / 1.384 GB, free: 4.227 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.149, allocations: 231.7 kB / 1.384 GB, free: 4 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/1.151, allocations: 1.655 MB / 1.386 GB, free: 2.203 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.152, allocations: 127 kB / 1.386 GB, free: 2.078 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.152, allocations: 47.97 kB / 1.386 GB, free: 2.031 MB / 1.107 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.0007007/1.153, allocations: 327.2 kB / 1.387 GB, free: 1.703 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/1.153, allocations: 122.4 kB / 1.387 GB, free: 1.582 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/1.157, allocations: 1.501 MB / 1.388 GB, free: 60 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.157, allocations: 15.94 kB / 1.388 GB, free: 44 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.157, allocations: 4 kB / 1.388 GB, free: 40 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.157, allocations: 7.969 kB / 1.388 GB, free: 32 kB / 1.107 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.005509/1.162, allocations: 2.828 MB / 1.391 GB, free: 13.1 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.162, allocations: 4 kB / 1.391 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000922/1.163, allocations: 195.7 kB / 1.391 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/1.164, allocations: 80.97 kB / 1.391 GB, free: 12.82 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.376e-05/1.164, allocations: 31.97 kB / 1.391 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/1.166, allocations: 1.673 MB / 1.393 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.166, allocations: 4 kB / 1.393 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/1.169, allocations: 1.862 MB / 1.395 GB, free: 9.07 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/1.17, allocations: 351.2 kB / 1.395 GB, free: 8.707 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002806/1.17, allocations: 24 kB / 1.395 GB, free: 8.684 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.171, allocations: 78.16 kB / 1.395 GB, free: 8.609 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.172, allocations: 85.06 kB / 1.395 GB, free: 8.527 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.172, allocations: 51.95 kB / 1.395 GB, free: 8.477 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001042/1.173, allocations: 0.6261 MB / 1.396 GB, free: 7.84 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.61e-07/1.173, allocations: 4 kB / 1.396 GB, free: 7.836 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001479/1.174, allocations: 463 kB / 1.396 GB, free: 7.383 MB / 1.123 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.001885/1.176, allocations: 0.7087 MB / 1.397 GB, free: 6.836 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002474/1.179, allocations: 1.1 MB / 1.398 GB, free: 5.719 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.179, allocations: 12.17 kB / 1.398 GB, free: 5.707 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.18, allocations: 0.6484 MB / 1.399 GB, free: 5.047 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/1.182, allocations: 0.5196 MB / 1.399 GB, free: 4.551 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/1.187, allocations: 2.433 MB / 1.402 GB, free: 2.066 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009036/1.188, allocations: 1.154 MB / 1.403 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005674/1.189, allocations: 155.4 kB / 1.403 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of SimCode: time 1.032e-06/1.189, allocations: 0 / 1.403 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of Templates: time 0.03781/1.226, allocations: 26.99 MB / 1.429 GB, free: 5.816 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches