Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008901/0.0008902, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009597/0.0009597, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003742, allocations: 12 kB / 0.8708 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8184, allocations: 153.7 MB / 1.021 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001689/0.8201, allocations: 1.164 MB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000404/0.8206, allocations: 155.6 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.8206, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.8206, allocations: 7.938 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.8209, allocations: 23.95 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.8211, allocations: 47.05 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.8211, allocations: 35.89 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.8212, allocations: 11.94 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.012e-05/0.8213, allocations: 15.98 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.647e-05/0.8214, allocations: 15.92 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.8214, allocations: 4 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.8214, allocations: 4 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.8215, allocations: 19.91 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.8215, allocations: 29.7 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.464e-05/0.8216, allocations: 29.91 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.8216, allocations: 0 / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8216, allocations: 0 / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.8216, allocations: 0 / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005438/0.8222, allocations: 343.2 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.8222, allocations: 15.98 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.8222, allocations: 7.906 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.8224, allocations: 163.1 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.8224, allocations: 4 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.8224, allocations: 4 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.8226, allocations: 76.14 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.8226, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.8226, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.8227, allocations: 15.97 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.653e-05/0.8227, allocations: 16 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.8231, allocations: 280.8 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.724e-05/0.8232, allocations: 38.52 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.8233, allocations: 0 / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.8234, allocations: 75.47 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.8234, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002105/0.8236, allocations: 73.53 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.8238, allocations: 106.8 kB / 1.023 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.8239, allocations: 101.8 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.8239, allocations: 29.7 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.8241, allocations: 84.14 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.8241, allocations: 11.89 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.8241, allocations: 7.938 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8242, allocations: 318.8 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.8243, allocations: 8 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.8243, allocations: 34.56 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.246e-05/0.8244, allocations: 11.95 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8244, allocations: 0 / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000167/0.8245, allocations: 69.53 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.8246, allocations: 8.031 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8246, allocations: 0 / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8246, allocations: 0 / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.8247, allocations: 11.98 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.8247, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.8248, allocations: 8 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.8248, allocations: 3.984 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.644e-05/0.8249, allocations: 121.8 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.8249, allocations: 4 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.8249, allocations: 7.5 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.8249, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8249, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.825, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.8252, allocations: 169.6 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8252, allocations: 3.953 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/0.8252, allocations: 7.938 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8252, allocations: 0 / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.8253, allocations: 448 / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8253, allocations: 0 / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8253, allocations: 8 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.8255, allocations: 89.02 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.8256, allocations: 101 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.8256, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.8257, allocations: 11.98 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.8258, allocations: 3.938 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.8258, allocations: 8 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.8258, allocations: 87.27 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8258, allocations: 0 / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001941/0.826, allocations: 12 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.8262, allocations: 117.1 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.8263, allocations: 27.98 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8263, allocations: 0 / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.8263, allocations: 12 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.8265, allocations: 13.61 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.8268, allocations: 124.7 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.8271, allocations: 0.6874 MB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.8271, allocations: 11.98 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.8272, allocations: 7.438 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8272, allocations: 4 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.003088/0.8303, allocations: 0.7834 MB / 1.027 GB, free: 10.92 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches