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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008117/0.008117, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.001534/0.001534, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 1.054 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3317, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002824/0.3346, allocations: 1.475 MB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.3351, allocations: 183.4 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.3352, allocations: 0 / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.3352, allocations: 0 / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.3355, allocations: 27.84 kB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.3357, allocations: 61.97 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.3359, allocations: 55.8 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.336, allocations: 11.98 kB / 1.209 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.633e-05/0.336, allocations: 19.98 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.3361, allocations: 19.91 kB / 1.209 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3362, allocations: 4 kB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.3362, allocations: 4 kB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.3362, allocations: 19.92 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.3363, allocations: 15.94 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.3364, allocations: 56.08 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.3364, allocations: 3.984 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3364, allocations: 0 / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3364, allocations: 4 kB / 1.209 GB, free: 8.129 MB / 0.9669 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.0005561/0.337, allocations: 347.4 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.337, allocations: 8.031 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.3371, allocations: 38.69 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.3371, allocations: 8.844 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3372, allocations: 168.4 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3373, allocations: 384 / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.3373, allocations: 8.375 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3374, allocations: 72.81 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3375, allocations: 3.938 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3375, allocations: 0 / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3375, allocations: 4 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.886e-05/0.3376, allocations: 19.92 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.3379, allocations: 276.8 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.751e-05/0.338, allocations: 42.56 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.3381, allocations: 24.78 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.3381, allocations: 0 / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.3383, allocations: 67.33 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3383, allocations: 0 / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002068/0.3385, allocations: 69.67 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.3386, allocations: 106.8 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.3387, allocations: 109.8 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3387, allocations: 29.7 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.3388, allocations: 80.14 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.3388, allocations: 23.67 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.3389, allocations: 21.72 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.339, allocations: 318.8 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.091e-05/0.339, allocations: 12.25 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.145e-05/0.3391, allocations: 38.56 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.3391, allocations: 24.86 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3391, allocations: 0 / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001547/0.3393, allocations: 61.69 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3393, allocations: 6.031 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3393, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3393, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.3394, allocations: 11.94 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3394, allocations: 0 / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.3395, allocations: 12.02 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3396, allocations: 0 / 1.211 GB, free: 5.887 MB / 0.9669 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.637e-05/0.3396, allocations: 121.8 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.3397, allocations: 7.906 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.3397, allocations: 7.5 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3397, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3397, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3397, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3398, allocations: 173.6 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3399, allocations: 4 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.3399, allocations: 0 / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3399, allocations: 0 / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.3399, allocations: 11.94 kB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3399, allocations: 192 / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3399, allocations: 4 kB / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.3401, allocations: 88.98 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.3401, allocations: 89.09 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3402, allocations: 7.938 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3403, allocations: 11.98 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.3403, allocations: 0 / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3403, allocations: 8 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.3404, allocations: 83.27 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3404, allocations: 0 / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001946/0.3406, allocations: 19.91 kB / 1.212 GB, free: 5.164 MB / 0.9669 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.0004339/0.341, allocations: 0.6282 MB / 1.212 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.3411, allocations: 36.02 kB / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3412, allocations: 0 / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.3412, allocations: 12 kB / 1.212 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.3414, allocations: 8 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.3424, allocations: 1.176 MB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3427, allocations: 0.6768 MB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.3427, allocations: 8 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.3428, allocations: 15.44 kB / 1.214 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.3428, allocations: 0 / 1.214 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.3619, allocations: 1.817 MB / 1.216 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.981, allocations: 8.359 kB / 1.216 GB, free: 0.8242 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > 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) "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.calTimAux,conTim.modTim,conTim.modTimAux,conTim.weaDatEndTim,conTim.weaDatStaTim,modTim.y,time