Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001522/0.001522, allocations: 107.2 kB / 16.27 MB, free: 5.988 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.001584/0.001584, allocations: 192.3 kB / 17.2 MB, free: 5.609 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.425/1.425, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.511/2.511, allocations: 437.1 MB / 0.7111 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 62.72 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2925, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007867/0.3004, allocations: 5.629 MB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7304/1.031, allocations: 150.9 MB / 1.171 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/1.032, allocations: 27.41 kB / 1.171 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009974/1.034, allocations: 356.4 kB / 1.171 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002403/1.036, allocations: 0.5705 MB / 1.172 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002504/1.038, allocations: 0.8706 MB / 1.173 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002156/1.041, allocations: 1.545 MB / 1.174 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/1.042, allocations: 0.7671 MB / 1.175 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/1.043, allocations: 0.5351 MB / 1.175 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007497/1.044, allocations: 0.5691 MB / 1.176 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002101/1.044, allocations: 132.1 kB / 1.176 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/1.045, allocations: 472.1 kB / 1.177 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003592/1.045, allocations: 341.6 kB / 1.177 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007166/1.046, allocations: 0.6579 MB / 1.177 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002532/1.049, allocations: 1.862 MB / 1.179 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.049, allocations: 4.875 kB / 1.179 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.114e-06/1.049, allocations: 0 / 1.179 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.076e-05/1.049, allocations: 0 / 1.179 GB, free: 10.71 MB / 0.8887 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.003247/1.052, allocations: 1.685 MB / 1.181 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.052, allocations: 10.52 kB / 1.181 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/1.053, allocations: 213.5 kB / 1.181 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/1.055, allocations: 0.8927 MB / 1.182 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/1.055, allocations: 82.17 kB / 1.182 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.055, allocations: 91.56 kB / 1.182 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/1.057, allocations: 1.034 MB / 1.183 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/1.057, allocations: 1.25 kB / 1.183 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.056e-05/1.057, allocations: 41.81 kB / 1.183 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/1.057, allocations: 24.19 kB / 1.183 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/1.059, allocations: 1.171 MB / 1.184 GB, free: 7.254 MB / 0.8887 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.004859/1.064, allocations: 3.032 MB / 1.187 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/1.066, allocations: 0.8055 MB / 1.188 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/1.066, allocations: 302.6 kB / 1.188 GB, free: 4.289 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.513e-05/1.066, allocations: 35.33 kB / 1.188 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000946/1.067, allocations: 491.6 kB / 1.189 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=78): time 2.925e-06/1.067, allocations: 0 / 1.189 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of matching and sorting (n=78): time 0.003364/1.071, allocations: 1.207 MB / 1.19 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/1.071, allocations: 194.4 kB / 1.19 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/1.072, allocations: 0.7955 MB / 1.191 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/1.072, allocations: 47.67 kB / 1.191 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/1.073, allocations: 0.4985 MB / 1.192 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/1.073, allocations: 258.3 kB / 1.192 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/1.073, allocations: 155.9 kB / 1.192 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.073, allocations: 341.8 kB / 1.192 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/1.074, allocations: 267.4 kB / 1.193 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/1.074, allocations: 357.4 kB / 1.193 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/1.076, allocations: 0.6087 MB / 1.194 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.076, allocations: 2.219 kB / 1.194 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00208/1.078, allocations: 0.8601 MB / 1.194 GB, free: 368 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.078, allocations: 9.172 kB / 1.194 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.078, allocations: 0 / 1.194 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/1.078, allocations: 81.41 kB / 1.194 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/1.079, allocations: 151.6 kB / 1.195 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/1.081, allocations: 1.659 MB / 1.196 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009395/1.082, allocations: 93.58 kB / 1.196 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/1.082, allocations: 30.73 kB / 1.196 GB, free: 14.59 MB / 0.9044 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.0006265/1.083, allocations: 296.1 kB / 1.197 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/1.083, allocations: 101.2 kB / 1.197 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/1.086, allocations: 1.079 MB / 1.198 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.086, allocations: 9.531 kB / 1.198 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/1.086, allocations: 3.938 kB / 1.198 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/1.086, allocations: 7.922 kB / 1.198 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/1.087, allocations: 1.006 MB / 1.199 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.087, allocations: 4 kB / 1.199 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/1.088, allocations: 140.4 kB / 1.199 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/1.088, allocations: 75.86 kB / 1.199 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/1.088, allocations: 25.42 kB / 1.199 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/1.09, allocations: 1.674 MB / 1.201 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.09, allocations: 4.062 kB / 1.201 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/1.092, allocations: 0.9442 MB / 1.202 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/1.093, allocations: 292.2 kB / 1.202 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/1.093, allocations: 20.75 kB / 1.202 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006163/1.094, allocations: 66.36 kB / 1.202 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.094, allocations: 65.47 kB / 1.202 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/1.094, allocations: 39 kB / 1.202 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007591/1.095, allocations: 0.5516 MB / 1.203 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.095, allocations: 2.125 kB / 1.203 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009788/1.096, allocations: 347.2 kB / 1.203 GB, free: 9.93 MB / 0.9044 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.001932/1.098, allocations: 0.5944 MB / 1.203 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002417/1.1, allocations: 1.022 MB / 1.204 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.1, allocations: 6.531 kB / 1.204 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009169/1.101, allocations: 0.5139 MB / 1.205 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/1.103, allocations: 473.6 kB / 1.205 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/1.106, allocations: 1.992 MB / 1.207 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007725/1.107, allocations: 1.098 MB / 1.208 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/1.108, allocations: 123.4 kB / 1.209 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of SimCode: time 8.41e-07/1.108, allocations: 0 / 1.209 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of Templates: time 0.03508/1.143, allocations: 22.26 MB / 1.23 GB, free: 15.31 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches