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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00106/0.00106, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003762, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6906/0.691, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006154/0.6971, allocations: 5.158 MB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1501/0.8473, allocations: 147 MB / 1.172 GB, free: 7.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006901/0.848, allocations: 23.81 kB / 1.172 GB, free: 7.141 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000678/0.8487, allocations: 294.1 kB / 1.173 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.8501, allocations: 489 kB / 1.173 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.8518, allocations: 0.7548 MB / 1.174 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.8532, allocations: 1.456 MB / 1.175 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009384/0.8541, allocations: 0.7316 MB / 1.176 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.8546, allocations: 386 kB / 1.176 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.8551, allocations: 433.4 kB / 1.177 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.8552, allocations: 28 kB / 1.177 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.8559, allocations: 371.6 kB / 1.177 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.8562, allocations: 214.9 kB / 1.177 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004286/0.8566, allocations: 0.5489 MB / 1.178 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.8578, allocations: 1.387 MB / 1.179 GB, free: 44 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8578, allocations: 0 / 1.179 GB, free: 44 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8578, allocations: 0 / 1.179 GB, free: 44 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.8579, allocations: 0 / 1.179 GB, free: 44 kB / 0.92 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.002342/0.8602, allocations: 1.422 MB / 1.181 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.8602, allocations: 8.031 kB / 1.181 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008878/0.8611, allocations: 227.1 kB / 1.181 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.8623, allocations: 0.8944 MB / 1.182 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.8623, allocations: 74 kB / 1.182 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.8625, allocations: 96 kB / 1.182 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.8641, allocations: 1.035 MB / 1.183 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.8642, allocations: 4 kB / 1.183 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.929e-05/0.8643, allocations: 40 kB / 1.183 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.8643, allocations: 31.98 kB / 1.183 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.8661, allocations: 1.175 MB / 1.184 GB, free: 10.9 MB / 0.9356 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.004194/0.8703, allocations: 3.066 MB / 1.187 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.8717, allocations: 0.805 MB / 1.188 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.8723, allocations: 306.7 kB / 1.188 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.012e-05/0.8724, allocations: 28.55 kB / 1.188 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008519/0.8732, allocations: 495.2 kB / 1.189 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=78): time 2.164e-06/0.8732, allocations: 0 / 1.189 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78): time 0.003008/0.8762, allocations: 1.221 MB / 1.19 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.8764, allocations: 188.6 kB / 1.19 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000954/0.8773, allocations: 0.8028 MB / 1.191 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.8774, allocations: 45.64 kB / 1.191 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.8778, allocations: 0.504 MB / 1.191 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.878, allocations: 252.4 kB / 1.192 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.8781, allocations: 73.67 kB / 1.192 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8782, allocations: 337.9 kB / 1.192 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/0.8787, allocations: 269.8 kB / 1.192 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.8794, allocations: 371.1 kB / 1.193 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.8805, allocations: 0.6073 MB / 1.193 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8805, allocations: 0 / 1.193 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001871/0.8823, allocations: 0.8719 MB / 1.194 GB, free: 420 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.8824, allocations: 4 kB / 1.194 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.8824, allocations: 0 / 1.194 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.883, allocations: 92.8 kB / 1.194 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.8836, allocations: 155.8 kB / 1.194 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.8856, allocations: 1.549 MB / 1.196 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/0.8864, allocations: 107.4 kB / 1.196 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.8865, allocations: 31.97 kB / 1.196 GB, free: 14.34 MB / 0.9512 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.0004576/0.8869, allocations: 292 kB / 1.196 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.8871, allocations: 110.8 kB / 1.196 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.8894, allocations: 1.094 MB / 1.197 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.8894, allocations: 12 kB / 1.197 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.8895, allocations: 0 / 1.197 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.8895, allocations: 3.984 kB / 1.197 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.8906, allocations: 1.006 MB / 1.198 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.8906, allocations: 3.984 kB / 1.198 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.8912, allocations: 139.8 kB / 1.198 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005249/0.8917, allocations: 88.77 kB / 1.199 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.704e-05/0.8918, allocations: 19.98 kB / 1.199 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.8936, allocations: 1.567 MB / 1.2 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8936, allocations: 3.984 kB / 1.2 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.8955, allocations: 0.9511 MB / 1.201 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.8959, allocations: 303.4 kB / 1.201 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.896, allocations: 16 kB / 1.201 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.8967, allocations: 98.89 kB / 1.201 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.8968, allocations: 64.91 kB / 1.201 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.8969, allocations: 39.97 kB / 1.202 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007238/0.8976, allocations: 0.5542 MB / 1.202 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8976, allocations: 0 / 1.202 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008498/0.8985, allocations: 339.1 kB / 1.202 GB, free: 7.395 MB / 0.9512 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.001509/0.9, allocations: 0.6031 MB / 1.203 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.9016, allocations: 0.8314 MB / 1.204 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.9017, allocations: 0 / 1.204 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009178/0.9026, allocations: 0.5159 MB / 1.204 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.9043, allocations: 435.8 kB / 1.205 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.908, allocations: 2.492 MB / 1.207 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.9087, allocations: 1.098 MB / 1.208 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.909, allocations: 119.4 kB / 1.208 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.909, allocations: 0 / 1.208 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of Templates: time 0.02994/0.939, allocations: 22.1 MB / 1.23 GB, free: 11.34 MB / 0.9825 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=480 -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