Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_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_10_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.001526/0.001527, allocations: 98.88 kB / 16.02 MB, free: 76 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.002221/0.002221, allocations: 181.4 kB / 16.92 MB, free: 6.711 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.528/1.528, allocations: 223.3 MB / 241 MB, free: 5.344 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.823/2.823, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003897, allocations: 11.98 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6418/0.6422, allocations: 153.8 MB / 1.024 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002083/0.6443, allocations: 1.18 MB / 1.025 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005039/0.6449, allocations: 183.4 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.6449, allocations: 4 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.645, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.6452, allocations: 19.91 kB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.6455, allocations: 47.94 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.6456, allocations: 51.84 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.6457, allocations: 11.94 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.6458, allocations: 19.98 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.6459, allocations: 23.91 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.6459, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.6459, allocations: 4 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.646, allocations: 19.86 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.05e-05/0.6461, allocations: 41.62 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.922e-05/0.6462, allocations: 34.03 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6462, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6462, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.6462, allocations: 0 / 1.025 GB, free: 14.43 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.0005555/0.6468, allocations: 343.4 kB / 1.026 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.6468, allocations: 12.03 kB / 1.026 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.6469, allocations: 4.844 kB / 1.026 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.647, allocations: 168.4 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6471, allocations: 384 / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.6471, allocations: 4.375 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.6473, allocations: 76.75 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.6473, allocations: 4.188 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.6473, allocations: 7.938 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.6473, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.252e-05/0.6474, allocations: 15.98 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.6479, allocations: 276.7 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.648, allocations: 50.45 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.6481, allocations: 16.94 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.6481, allocations: 3.984 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.6483, allocations: 67.39 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.6483, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002478/0.6485, allocations: 77.61 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.6486, allocations: 106.8 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.811e-05/0.6487, allocations: 105.8 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.6488, allocations: 29.7 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.6488, allocations: 84.12 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.6489, allocations: 11.81 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.6489, allocations: 13.72 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6491, allocations: 314.8 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.6491, allocations: 15.98 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.6492, allocations: 34.58 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.253e-05/0.6493, allocations: 28.84 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6493, allocations: 0 / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000148/0.6494, allocations: 61.62 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6495, allocations: 5.875 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6495, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.6495, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.6496, allocations: 8 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6496, allocations: 0 / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.6498, allocations: 16.02 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.6498, allocations: 0 / 1.027 GB, free: 12.24 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.6499, allocations: 118.3 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.6499, allocations: 7.906 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.65, allocations: 11.48 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.65, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.65, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.65, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.6502, allocations: 169.6 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.6502, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.6502, allocations: 11.98 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6502, allocations: 448 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.6503, allocations: 4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6503, allocations: 3.938 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6503, allocations: 4 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.6505, allocations: 89.05 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.6505, allocations: 81.11 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.6506, allocations: 7.984 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.6507, allocations: 11.94 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.6508, allocations: 15.92 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.6508, allocations: 0 / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.6509, allocations: 79.28 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6509, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003789/0.6513, allocations: 27.83 kB / 1.028 GB, free: 11.51 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001359/0.6514, allocations: 103.2 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.6516, allocations: 35.92 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6516, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.6516, allocations: 12 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.6519, allocations: 7.938 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.6522, allocations: 150.7 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.6526, allocations: 0.6887 MB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.6526, allocations: 11.44 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6526, allocations: 0 / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.002504/0.6551, allocations: 0.8237 MB / 1.03 GB, free: 9.625 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches