Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001378, allocations: 113.5 kB / 16.41 MB, free: 6.492 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.001306/0.001306, allocations: 183 kB / 17.34 MB, free: 5.762 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 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.324/2.324, allocations: 390.2 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.88 kB / 0.9515 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007404/1.073, allocations: 5.115 MB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.218/1.291, allocations: 150.8 MB / 1.241 GB, free: 168 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/1.293, allocations: 22.72 kB / 1.241 GB, free: 160 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/1.295, allocations: 351.2 kB / 1.241 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003449/1.298, allocations: 0.5218 MB / 1.242 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003322/1.301, allocations: 0.8697 MB / 1.243 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00259/1.304, allocations: 1.484 MB / 1.244 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/1.305, allocations: 0.8061 MB / 1.245 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/1.306, allocations: 0.5322 MB / 1.245 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006534/1.307, allocations: 0.5584 MB / 1.246 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/1.307, allocations: 132.6 kB / 1.246 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/1.309, allocations: 499.6 kB / 1.247 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/1.309, allocations: 334.9 kB / 1.247 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005761/1.309, allocations: 0.6371 MB / 1.247 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/1.312, allocations: 1.898 MB / 1.249 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.312, allocations: 0 / 1.249 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.294e-06/1.312, allocations: 0 / 1.249 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.341e-05/1.312, allocations: 0 / 1.249 GB, free: 9.191 MB / 0.9825 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.002928/1.315, allocations: 1.671 MB / 1.251 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.315, allocations: 8.031 kB / 1.251 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009697/1.316, allocations: 215 kB / 1.251 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/1.317, allocations: 0.9062 MB / 1.252 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/1.317, allocations: 89.88 kB / 1.252 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/1.318, allocations: 99.98 kB / 1.252 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/1.319, allocations: 1.032 MB / 1.253 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/1.319, allocations: 0 / 1.253 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/1.32, allocations: 44 kB / 1.253 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/1.32, allocations: 24 kB / 1.253 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/1.322, allocations: 1.163 MB / 1.254 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004189/1.326, allocations: 2.795 MB / 1.257 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/1.327, allocations: 0.7977 MB / 1.258 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/1.328, allocations: 298.7 kB / 1.258 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.703e-05/1.328, allocations: 32.61 kB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009447/1.329, allocations: 495.1 kB / 1.259 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 2.184e-06/1.329, allocations: 0 / 1.259 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.003206/1.332, allocations: 1.205 MB / 1.26 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/1.332, allocations: 188.6 kB / 1.26 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/1.333, allocations: 0.799 MB / 1.261 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.282e-05/1.334, allocations: 41.7 kB / 1.261 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005258/1.334, allocations: 0.5077 MB / 1.261 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/1.334, allocations: 256.4 kB / 1.262 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/1.335, allocations: 162.5 kB / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002846/1.335, allocations: 341.9 kB / 1.262 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/1.336, allocations: 261.9 kB / 1.262 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007215/1.336, allocations: 359.1 kB / 1.263 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/1.338, allocations: 0.6033 MB / 1.263 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.338, allocations: 0 / 1.263 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002062/1.34, allocations: 0.8641 MB / 1.264 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.34, allocations: 4.094 kB / 1.264 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.34, allocations: 4 kB / 1.264 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/1.34, allocations: 80.72 kB / 1.264 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/1.341, allocations: 167.8 kB / 1.264 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/1.344, allocations: 1.631 MB / 1.266 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/1.344, allocations: 99.34 kB / 1.266 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/1.344, allocations: 35.98 kB / 1.266 GB, free: 7.434 MB / 0.9981 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 (92): * Single equations (assignments): 91 * 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.0005454/1.345, allocations: 295.3 kB / 1.266 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/1.345, allocations: 98.78 kB / 1.266 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/1.348, allocations: 1.078 MB / 1.268 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/1.348, allocations: 12 kB / 1.268 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.348, allocations: 3.938 kB / 1.268 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.348, allocations: 3.984 kB / 1.268 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/1.349, allocations: 1.001 MB / 1.269 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.349, allocations: 4 kB / 1.269 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005478/1.349, allocations: 139.8 kB / 1.269 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004199/1.35, allocations: 72.78 kB / 1.269 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/1.35, allocations: 23.98 kB / 1.269 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/1.352, allocations: 1.677 MB / 1.27 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.352, allocations: 0 / 1.27 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/1.354, allocations: 0.9432 MB / 1.271 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/1.354, allocations: 287.5 kB / 1.272 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/1.355, allocations: 19.94 kB / 1.272 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006752/1.355, allocations: 70.58 kB / 1.272 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/1.355, allocations: 72.84 kB / 1.272 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/1.356, allocations: 35.97 kB / 1.272 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007468/1.356, allocations: 0.5542 MB / 1.272 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.813e-06/1.356, allocations: 0 / 1.272 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008837/1.357, allocations: 343 kB / 1.273 GB, free: 468 kB / 0.9981 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.001495/1.359, allocations: 0.6027 MB / 1.273 GB, free: 24 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001734/1.36, allocations: 0.8156 MB / 1.274 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.36, allocations: 0 / 1.274 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.361, allocations: 0.5161 MB / 1.275 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.363, allocations: 461.1 kB / 1.275 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/1.368, allocations: 2.056 MB / 1.277 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008692/1.369, allocations: 1.1 MB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/1.369, allocations: 131.2 kB / 1.278 GB, free: 10.91 MB / 1.014 GB Notification: Performance of SimCode: time 1.373e-06/1.369, allocations: 0 / 1.278 GB, free: 10.91 MB / 1.014 GB Notification: Performance of Templates: time 0.03239/1.401, allocations: 22.24 MB / 1.3 GB, free: 4.703 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches