Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007043/0.007043, allocations: 101.3 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.001666/0.001666, allocations: 194.9 kB / 16.67 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.35/1.35, 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 11.0.1-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.89 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7435, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007554/0.7511, allocations: 5.627 MB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1686/0.9198, allocations: 150.9 MB / 1.36 GB, free: 456 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.921, allocations: 23.81 kB / 1.36 GB, free: 432 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.9222, allocations: 357.4 kB / 1.36 GB, free: 72 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.9248, allocations: 0.5776 MB / 1.361 GB, free: 15.49 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/0.9282, allocations: 0.868 MB / 1.362 GB, free: 14.63 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002991/0.9312, allocations: 1.562 MB / 1.363 GB, free: 13.06 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.933, allocations: 0.7674 MB / 1.364 GB, free: 12.26 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.9342, allocations: 0.5371 MB / 1.365 GB, free: 11.72 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.9353, allocations: 0.5714 MB / 1.365 GB, free: 11.14 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003836/0.9357, allocations: 132 kB / 1.365 GB, free: 11.02 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.9373, allocations: 499.6 kB / 1.366 GB, free: 10.53 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005315/0.9378, allocations: 342.8 kB / 1.366 GB, free: 10.19 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009585/0.9388, allocations: 0.6605 MB / 1.367 GB, free: 9.527 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003367/0.9422, allocations: 1.919 MB / 1.369 GB, free: 7.602 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9422, allocations: 0 / 1.369 GB, free: 7.602 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.048e-06/0.9422, allocations: 0 / 1.369 GB, free: 7.602 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.012e-05/0.9423, allocations: 3.938 kB / 1.369 GB, free: 7.598 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.004161/0.9465, allocations: 1.678 MB / 1.37 GB, free: 5.871 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.9465, allocations: 8.031 kB / 1.37 GB, free: 5.863 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002639/0.9468, allocations: 152.4 kB / 1.37 GB, free: 5.707 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.9479, allocations: 219 kB / 1.371 GB, free: 5.492 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.9502, allocations: 0.9137 MB / 1.372 GB, free: 4.535 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.9503, allocations: 77.98 kB / 1.372 GB, free: 4.457 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.9506, allocations: 96 kB / 1.372 GB, free: 4.363 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/0.9537, allocations: 1.032 MB / 1.373 GB, free: 3.293 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.9537, allocations: 3.938 kB / 1.373 GB, free: 3.289 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.9538, allocations: 44 kB / 1.373 GB, free: 3.246 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.9539, allocations: 28 kB / 1.373 GB, free: 3.219 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.9561, allocations: 1.167 MB / 1.374 GB, free: 2.051 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.006034/0.9622, allocations: 3.016 MB / 1.377 GB, free: 14.92 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.964, allocations: 0.7964 MB / 1.378 GB, free: 14.11 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006045/0.9647, allocations: 302.6 kB / 1.378 GB, free: 13.81 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-05/0.9648, allocations: 32.61 kB / 1.378 GB, free: 13.78 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.9658, allocations: 495.1 kB / 1.378 GB, free: 13.28 MB / 1.107 GB Notification: Performance of pre-optimization done (n=78): time 2.915e-06/0.9658, allocations: 0 / 1.378 GB, free: 13.28 MB / 1.107 GB Notification: Performance of matching and sorting (n=78): time 0.00392/0.9698, allocations: 1.201 MB / 1.38 GB, free: 12.05 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.9699, allocations: 188.6 kB / 1.38 GB, free: 11.82 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.9716, allocations: 0.8046 MB / 1.381 GB, free: 10.99 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.9717, allocations: 41.7 kB / 1.381 GB, free: 10.95 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/0.9723, allocations: 0.5117 MB / 1.381 GB, free: 10.43 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.9727, allocations: 248.4 kB / 1.381 GB, free: 10.18 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.973, allocations: 142.5 kB / 1.382 GB, free: 10.04 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.9732, allocations: 341.9 kB / 1.382 GB, free: 9.695 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.9738, allocations: 245.9 kB / 1.382 GB, free: 9.453 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000765/0.9746, allocations: 354.5 kB / 1.382 GB, free: 9.082 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.9759, allocations: 0.58 MB / 1.383 GB, free: 8.488 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.976, allocations: 0 / 1.383 GB, free: 8.488 MB / 1.107 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002334/0.9783, allocations: 0.8134 MB / 1.384 GB, free: 7.664 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.9784, allocations: 4 kB / 1.384 GB, free: 7.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.9784, allocations: 0 / 1.384 GB, free: 7.66 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007323/0.9791, allocations: 92.73 kB / 1.384 GB, free: 7.566 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.9798, allocations: 147.8 kB / 1.384 GB, free: 7.422 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.9824, allocations: 1.641 MB / 1.386 GB, free: 5.637 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.9834, allocations: 95.41 kB / 1.386 GB, free: 5.543 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.9835, allocations: 27.98 kB / 1.386 GB, free: 5.516 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: 15 (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 (84): * Single equations (assignments): 83 * 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.00068/0.9842, allocations: 285.6 kB / 1.386 GB, free: 5.227 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.9846, allocations: 106.8 kB / 1.386 GB, free: 5.121 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002841/0.9874, allocations: 1.072 MB / 1.387 GB, free: 4.043 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.9875, allocations: 19.92 kB / 1.387 GB, free: 4.023 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.9875, allocations: 4 kB / 1.387 GB, free: 4.02 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.9875, allocations: 7.922 kB / 1.387 GB, free: 4.012 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.989, allocations: 1.017 MB / 1.388 GB, free: 2.941 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.9891, allocations: 0 / 1.388 GB, free: 2.941 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.9897, allocations: 143.8 kB / 1.388 GB, free: 2.801 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/0.9902, allocations: 72.8 kB / 1.388 GB, free: 2.727 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.412e-05/0.9903, allocations: 27.97 kB / 1.388 GB, free: 2.699 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.9925, allocations: 1.673 MB / 1.39 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9925, allocations: 0 / 1.39 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.9948, allocations: 0.9316 MB / 1.391 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/0.9954, allocations: 295.4 kB / 1.391 GB, free: 15.62 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.9956, allocations: 20 kB / 1.391 GB, free: 15.6 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007148/0.9963, allocations: 67.92 kB / 1.391 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.9965, allocations: 72.84 kB / 1.391 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.38e-05/0.9966, allocations: 35.98 kB / 1.391 GB, free: 15.43 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009647/0.9976, allocations: 0.5581 MB / 1.392 GB, free: 14.86 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9976, allocations: 0 / 1.392 GB, free: 14.86 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009983/0.9986, allocations: 347 kB / 1.392 GB, free: 14.52 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.003936/1.003, allocations: 1.987 MB / 1.394 GB, free: 12.68 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001963/1.004, allocations: 0.7844 MB / 1.395 GB, free: 11.88 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.005, allocations: 4.188 kB / 1.395 GB, free: 11.88 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.006, allocations: 0.5235 MB / 1.396 GB, free: 11.34 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/1.007, allocations: 473.5 kB / 1.396 GB, free: 10.91 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/1.02, allocations: 6.951 MB / 1.403 GB, free: 3.82 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.021, allocations: 1.094 MB / 1.404 GB, free: 2.699 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001155/1.023, allocations: 283.7 kB / 1.404 GB, free: 2.418 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007653/1.023, allocations: 467.2 kB / 1.405 GB, free: 1.961 MB / 1.123 GB Notification: Performance of SimCode: time 1.092e-06/1.023, allocations: 0 / 1.405 GB, free: 1.961 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07051/1.094, allocations: 26.23 MB / 1.43 GB, free: 8.031 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.38, allocations: 15.59 kB / 1.43 GB, free: 8.02 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches