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.001064/0.001064, allocations: 112.7 kB / 16.37 MB, free: 6 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.001186/0.001186, allocations: 196 kB / 17.31 MB, free: 5.613 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.45/2.45, allocations: 442.5 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.23 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2927, allocations: 153 MB / 1.027 GB, free: 1.992 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002794/0.2955, allocations: 1.462 MB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004547/0.296, allocations: 191.3 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.2961, allocations: 0 / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.2961, allocations: 3.938 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.2964, allocations: 31.84 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.2966, allocations: 55.36 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.2968, allocations: 51.91 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.2969, allocations: 8 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.297, allocations: 31.86 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.2971, allocations: 27.89 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.2971, allocations: 4 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.2971, allocations: 4 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.2971, allocations: 8 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.2972, allocations: 23.92 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.2973, allocations: 55.8 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2973, allocations: 0 / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2973, allocations: 0 / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2973, allocations: 0 / 1.029 GB, free: 40 kB / 0.795 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.0005322/0.2979, allocations: 347.5 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2979, allocations: 11.97 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.298, allocations: 4.938 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2981, allocations: 172.2 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2981, allocations: 8.359 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.2981, allocations: 12.31 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.2983, allocations: 72.75 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2983, allocations: 192 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.2983, allocations: 3.938 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2983, allocations: 4 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.797e-05/0.2984, allocations: 12 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.2988, allocations: 280.8 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.988e-05/0.2989, allocations: 38.56 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.2989, allocations: 16.86 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.2989, allocations: 0 / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.2991, allocations: 59.48 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.2991, allocations: 4 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002078/0.2993, allocations: 81.59 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.2994, allocations: 102.8 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.2995, allocations: 105.8 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2995, allocations: 29.7 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.2995, allocations: 88.03 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.2996, allocations: 15.84 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.2996, allocations: 21.7 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2998, allocations: 318.8 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.2998, allocations: 12 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.2999, allocations: 34.94 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.2999, allocations: 36.78 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2999, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000109/0.3001, allocations: 57.61 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3001, allocations: 4 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3001, allocations: 3.984 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3001, allocations: 4.031 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.3002, allocations: 8 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3002, allocations: 0 / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3003, allocations: 11.92 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.3003, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 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 8.853e-05/0.3004, allocations: 117.8 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.3005, allocations: 7.938 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.3005, allocations: 7.5 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3005, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3005, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3005, allocations: 3.984 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.3006, allocations: 173.6 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3006, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.3007, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3007, allocations: 7.938 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3007, allocations: 3.984 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3007, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3007, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.3009, allocations: 92.97 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.3009, allocations: 85.09 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.301, allocations: 4.062 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3011, allocations: 11.98 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.3011, allocations: 7.984 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3011, allocations: 7.938 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.3012, allocations: 79.28 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3012, allocations: 0 / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002017/0.3014, allocations: 20 kB / 1.031 GB, free: 13.11 MB / 0.8106 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.0001098/0.3015, allocations: 103.2 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.3016, allocations: 24 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3017, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.493e-05/0.3017, allocations: 23.92 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.3019, allocations: 10.44 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.3022, allocations: 117.5 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.3024, allocations: 0.6885 MB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.642e-05/0.3025, allocations: 4 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.3025, allocations: 11.44 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3025, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.003168/0.3057, allocations: 0.8736 MB / 1.033 GB, free: 11.24 MB / 0.8106 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 -s gbode -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/jenkins1/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