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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.236/3.236, allocations: 429.6 MB / 0.673 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.418e-05, allocations: 7.016 kB / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008365/0.008399, allocations: 5.089 MB / 0.8825 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1884/0.1968, allocations: 133 MB / 1.012 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.198, allocations: 39.69 kB / 1.012 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.1992, allocations: 373.2 kB / 1.013 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.2016, allocations: 0.5862 MB / 1.013 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.204, allocations: 0.9076 MB / 1.014 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.2065, allocations: 1.647 MB / 1.016 GB, free: 8.363 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.2075, allocations: 495.1 kB / 1.016 GB, free: 7.848 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.2088, allocations: 0.838 MB / 1.017 GB, free: 7.008 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006549/0.2095, allocations: 450.6 kB / 1.018 GB, free: 6.566 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.2097, allocations: 140 kB / 1.018 GB, free: 6.43 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009961/0.2107, allocations: 0.511 MB / 1.018 GB, free: 5.918 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003703/0.2111, allocations: 354.7 kB / 1.019 GB, free: 5.57 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005312/0.2116, allocations: 450.8 kB / 1.019 GB, free: 5.129 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.2142, allocations: 2.083 MB / 1.021 GB, free: 3.039 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2142, allocations: 0 / 1.021 GB, free: 3.039 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2142, allocations: 0 / 1.021 GB, free: 3.039 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.2142, allocations: 0 / 1.021 GB, free: 3.039 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003218/0.2174, allocations: 1.691 MB / 1.023 GB, free: 1.305 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2175, allocations: 12.03 kB / 1.023 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.2191, allocations: 383.3 kB / 1.023 GB, free: 0.918 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.2208, allocations: 0.8972 MB / 1.024 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.94e-05/0.2209, allocations: 86.09 kB / 1.024 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.221, allocations: 104 kB / 1.024 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.2232, allocations: 1.306 MB / 1.025 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.2232, allocations: 0 / 1.025 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.2234, allocations: 47.98 kB / 1.025 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.2234, allocations: 24 kB / 1.025 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.2255, allocations: 1.136 MB / 1.027 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005059/0.2306, allocations: 2.502 MB / 1.029 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.2323, allocations: 0.7939 MB / 1.03 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006051/0.2329, allocations: 298.7 kB / 1.03 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.618e-05/0.233, allocations: 28.62 kB / 1.03 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.234, allocations: 0.6046 MB / 1.031 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=86): time 2.675e-06/0.234, allocations: 0 / 1.031 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of matching and sorting (n=86): time 0.00354/0.2376, allocations: 1.207 MB / 1.032 GB, free: 7.629 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.2377, allocations: 196.9 kB / 1.032 GB, free: 7.395 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.2388, allocations: 0.7552 MB / 1.033 GB, free: 6.629 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.2389, allocations: 53.64 kB / 1.033 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000559/0.2395, allocations: 0.5244 MB / 1.033 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.2398, allocations: 281.5 kB / 1.034 GB, free: 5.762 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.2401, allocations: 182.6 kB / 1.034 GB, free: 5.578 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.2403, allocations: 337.9 kB / 1.034 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006425/0.2409, allocations: 293.8 kB / 1.034 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008432/0.2418, allocations: 0.5035 MB / 1.035 GB, free: 4.406 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.2432, allocations: 0.6481 MB / 1.036 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2432, allocations: 0 / 1.036 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002402/0.2456, allocations: 0.974 MB / 1.037 GB, free: 2.762 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2456, allocations: 4 kB / 1.037 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2456, allocations: 4 kB / 1.037 GB, free: 2.754 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009812/0.2466, allocations: 128.8 kB / 1.037 GB, free: 2.625 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.2473, allocations: 167.8 kB / 1.037 GB, free: 2.461 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.2498, allocations: 1.531 MB / 1.038 GB, free: 0.8242 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.2506, allocations: 87.52 kB / 1.038 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.2506, allocations: 43.97 kB / 1.038 GB, free: 0.6953 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (105): * Single equations (assignments): 104 * 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.0005567/0.2512, allocations: 304.2 kB / 1.039 GB, free: 396 kB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.2515, allocations: 135.3 kB / 1.039 GB, free: 260 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.2542, allocations: 1.091 MB / 1.04 GB, free: 15.15 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.2542, allocations: 11.98 kB / 1.04 GB, free: 15.14 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2542, allocations: 0 / 1.04 GB, free: 15.14 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2542, allocations: 3.984 kB / 1.04 GB, free: 15.14 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/0.2582, allocations: 1.985 MB / 1.042 GB, free: 13.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2582, allocations: 0 / 1.042 GB, free: 13.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.2588, allocations: 143.8 kB / 1.042 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007763/0.2596, allocations: 124.7 kB / 1.042 GB, free: 12.83 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.2597, allocations: 23.98 kB / 1.042 GB, free: 12.81 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.2619, allocations: 1.544 MB / 1.044 GB, free: 11.16 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2619, allocations: 3.938 kB / 1.044 GB, free: 11.15 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.2643, allocations: 1.076 MB / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.2647, allocations: 219 kB / 1.045 GB, free: 9.844 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.2649, allocations: 23.98 kB / 1.045 GB, free: 9.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/0.2656, allocations: 63.88 kB / 1.045 GB, free: 9.758 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.2657, allocations: 84.94 kB / 1.045 GB, free: 9.672 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/0.2658, allocations: 35.97 kB / 1.045 GB, free: 9.637 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007909/0.2666, allocations: 0.5263 MB / 1.046 GB, free: 9.117 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2666, allocations: 0 / 1.046 GB, free: 9.117 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009978/0.2676, allocations: 362.9 kB / 1.046 GB, free: 8.762 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002434/0.27, allocations: 0.6523 MB / 1.047 GB, free: 8.309 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001854/0.2719, allocations: 0.8389 MB / 1.047 GB, free: 7.461 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.2719, allocations: 4 kB / 1.047 GB, free: 7.457 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.2729, allocations: 0.508 MB / 1.048 GB, free: 6.938 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.2747, allocations: 0.4893 MB / 1.048 GB, free: 6.48 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.2787, allocations: 2.006 MB / 1.05 GB, free: 4.434 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.2794, allocations: 0.5181 MB / 1.051 GB, free: 3.879 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008789/0.2803, allocations: 287.6 kB / 1.051 GB, free: 3.594 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.2806, allocations: 120.4 kB / 1.051 GB, free: 3.477 MB / 1.01 GB Notification: Performance of SimCode: time 6.42e-07/0.2806, allocations: 0 / 1.051 GB, free: 3.477 MB / 1.01 GB Notification: Performance of Templates: time 0.4141/0.6947, allocations: 18.1 MB / 1.069 GB, free: 83.76 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.3538336440688]