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.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.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.001447/0.001447, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00227/0.00227, allocations: 195.6 kB / 16.14 MB, free: 6.656 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.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.803/2.803, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.89 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6707/0.6721, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002585/0.6748, allocations: 1.519 MB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003862/0.6752, allocations: 187.4 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.6752, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.6753, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.6755, allocations: 27.91 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.6757, allocations: 39.95 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.6758, allocations: 59.77 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.6759, allocations: 8 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.676, allocations: 23.92 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.6761, allocations: 19.92 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.6761, allocations: 3.984 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.6761, allocations: 4 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.6761, allocations: 15.92 kB / 1.018 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.6762, allocations: 15.92 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.6763, allocations: 45.83 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6763, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.81e-07/0.6763, allocations: 4 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.6763, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.7637 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.0005388/0.6769, allocations: 359.3 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6769, allocations: 8.031 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.677, allocations: 8.875 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.6771, allocations: 164.4 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.6771, allocations: 384 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.6771, allocations: 8.375 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.6773, allocations: 80.73 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.6773, allocations: 192 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.6773, allocations: 3.938 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.6773, allocations: 4 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.6774, allocations: 15.98 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.6778, allocations: 284.7 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.899e-05/0.6779, allocations: 38.58 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.6779, allocations: 20.94 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.6779, allocations: 0 / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.6781, allocations: 59.39 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.6781, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001881/0.6783, allocations: 69.62 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.6783, allocations: 114.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.6784, allocations: 105.9 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.6784, allocations: 29.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.6785, allocations: 91.97 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.6785, allocations: 7.906 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.6786, allocations: 25.7 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.6787, allocations: 314.8 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.6787, allocations: 12 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.6788, allocations: 34.56 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.05e-05/0.6788, allocations: 28.8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6788, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001095/0.6789, allocations: 61.69 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.679, allocations: 6.031 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.679, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.679, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.679, allocations: 7.984 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.6791, allocations: 4 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.6792, allocations: 15.92 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.6792, allocations: 0 / 1.02 GB, free: 14.63 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 7.758e-05/0.6793, allocations: 117.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.6793, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.6793, allocations: 7.5 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.6793, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6793, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.6793, allocations: 3.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.6795, allocations: 181.5 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6795, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.6795, allocations: 448 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.6795, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.6795, allocations: 8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.6795, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6795, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.6797, allocations: 89.23 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.6797, allocations: 96.97 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.6798, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.6799, allocations: 11.98 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.6799, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.68, allocations: 11.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.68, allocations: 83.22 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.583e-06/0.68, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001948/0.6802, allocations: 15.94 kB / 1.021 GB, free: 13.9 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 9.595e-05/0.6803, allocations: 107.8 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.6804, allocations: 27.98 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6804, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.05e-05/0.6805, allocations: 19.98 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.6806, allocations: 7.875 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.6809, allocations: 131.2 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.6811, allocations: 0.6848 MB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.514e-05/0.6812, allocations: 7.984 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.6812, allocations: 7.438 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6812, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.002747/0.684, allocations: 0.8402 MB / 1.023 GB, free: 12.05 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/jenkins/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