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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001209/0.001209, allocations: 198.1 kB / 16.14 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 70.89 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3743, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003836/0.3782, allocations: 1.516 MB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005609/0.3788, allocations: 187 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.3788, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.602e-05/0.3789, allocations: 11.86 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.3792, allocations: 15.94 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.3795, allocations: 51.86 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3796, allocations: 55.84 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3797, allocations: 7.984 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.3798, allocations: 19.94 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.3799, allocations: 23.91 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.38, allocations: 4 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.351e-05/0.38, allocations: 4 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.38, allocations: 7.984 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.3801, allocations: 23.86 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.3803, allocations: 52.08 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3804, allocations: 0 / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3804, allocations: 0 / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3804, allocations: 0 / 1.069 GB, free: 8.945 MB / 0.8262 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.00072/0.3811, allocations: 353 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3812, allocations: 8.031 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.3812, allocations: 8.938 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3814, allocations: 172.2 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3815, allocations: 8.359 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.3815, allocations: 384 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.3817, allocations: 76.81 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.3818, allocations: 4.125 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.3818, allocations: 11.88 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.3818, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.3819, allocations: 12 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3824, allocations: 276.9 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3826, allocations: 38.5 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/0.3826, allocations: 16.86 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3827, allocations: 4 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/0.383, allocations: 59.48 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.383, allocations: 0 / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003206/0.3834, allocations: 77.58 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.3835, allocations: 106.8 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3837, allocations: 105.8 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3837, allocations: 33.7 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.3838, allocations: 84.14 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.3838, allocations: 11.84 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.3839, allocations: 21.7 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3841, allocations: 318.8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.3841, allocations: 8 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.3842, allocations: 34.56 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.736e-05/0.3843, allocations: 32.88 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3844, allocations: 3.938 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001662/0.3845, allocations: 61.98 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3846, allocations: 8 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.3846, allocations: 3.984 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3846, allocations: 192 / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3847, allocations: 8 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3847, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.3849, allocations: 11.98 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.385, allocations: 3.984 kB / 1.071 GB, free: 6.742 MB / 0.8262 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.0001237/0.3851, allocations: 121.8 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.3851, allocations: 0 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.3852, allocations: 7.5 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3852, allocations: 0 / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3852, allocations: 0 / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3852, allocations: 7.922 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.3854, allocations: 173.6 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3854, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.3855, allocations: 4 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3855, allocations: 4 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3855, allocations: 3.984 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3855, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.3855, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.3857, allocations: 92.91 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.3858, allocations: 89.09 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.3859, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.3861, allocations: 13.55 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.3861, allocations: 7.984 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3861, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.902e-05/0.3862, allocations: 87.28 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3862, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003267/0.3866, allocations: 8 kB / 1.072 GB, free: 6.031 MB / 0.8262 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.0001545/0.3867, allocations: 107.2 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.3869, allocations: 35.92 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3869, allocations: 4 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.864e-05/0.387, allocations: 12 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.3873, allocations: 7.938 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.3877, allocations: 135 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.3881, allocations: 0.6809 MB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.075e-05/0.3881, allocations: 8 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.3882, allocations: 11.44 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.3882, allocations: 0 / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of Templates: time 0.004192/0.3924, allocations: 0.836 MB / 1.074 GB, free: 4.172 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches