Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.487/2.487, allocations: 476.7 MB / 0.7628 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 63.89 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.7806, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002838/0.7834, allocations: 1.473 MB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004289/0.7838, allocations: 191.3 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.7839, allocations: 0.8125 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.7839, allocations: 3.938 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.7841, allocations: 28.39 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.7843, allocations: 58.62 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.7844, allocations: 56.11 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.7845, allocations: 12.05 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.7846, allocations: 19.8 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.7846, allocations: 27.05 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.7847, allocations: 4.781 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.7847, allocations: 4.031 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.7847, allocations: 13.09 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.7848, allocations: 26.27 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.7849, allocations: 45.31 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7849, allocations: 0 / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7849, allocations: 0.75 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.7849, allocations: 0 / 1.273 GB, free: 6.461 MB / 0.9981 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.0004308/0.7853, allocations: 353.1 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.7853, allocations: 9.859 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.675e-05/0.7854, allocations: 37.19 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.7854, allocations: 7.25 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.7855, allocations: 173.6 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.7855, allocations: 2.094 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.7855, allocations: 2.062 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.7856, allocations: 82.3 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.7856, allocations: 5.672 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.7856, allocations: 0 / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.7856, allocations: 1.094 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.7857, allocations: 16.19 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.786, allocations: 282.6 kB / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.167e-05/0.786, allocations: 33.56 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.7861, allocations: 14.78 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.7861, allocations: 1.609 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.7862, allocations: 68.05 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7862, allocations: 0 / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001732/0.7864, allocations: 80.67 kB / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.7864, allocations: 104.3 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.15e-05/0.7865, allocations: 105.2 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.7865, allocations: 26.58 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.431e-05/0.7865, allocations: 92 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.7865, allocations: 9.438 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.7865, allocations: 26.12 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.7866, allocations: 322.8 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.7866, allocations: 5 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.284e-05/0.7866, allocations: 35.47 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.7867, allocations: 29.61 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7867, allocations: 1.375 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.167e-05/0.7868, allocations: 61.25 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.7868, allocations: 5.719 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.7868, allocations: 4.219 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.7868, allocations: 0.9688 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.7869, allocations: 5.531 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.7869, allocations: 0 / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.787, allocations: 19.38 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.787, allocations: 2.547 kB / 1.275 GB, free: 4.512 MB / 0.9981 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 4.787e-05/0.787, allocations: 113.5 kB / 1.275 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.787, allocations: 10.02 kB / 1.275 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.787, allocations: 15.98 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.787, allocations: 0.9688 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.787, allocations: 0.9688 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.787, allocations: 0 / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.005e-05/0.7871, allocations: 169.6 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.7871, allocations: 1.594 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.7871, allocations: 2.969 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.7871, allocations: 0.6875 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.7871, allocations: 4.719 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7872, allocations: 3.094 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.7872, allocations: 0 / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.7873, allocations: 92.8 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.7873, allocations: 87.17 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.7873, allocations: 7.891 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.7874, allocations: 5.75 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.7874, allocations: 5.266 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.7874, allocations: 1.844 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.699e-05/0.7875, allocations: 99.27 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7875, allocations: 0 / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001841/0.7876, allocations: 14.05 kB / 1.276 GB, free: 3.891 MB / 0.9981 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.0002628/0.7879, allocations: 0.6349 MB / 1.276 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.788, allocations: 28.38 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.788, allocations: 4 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.434e-05/0.788, allocations: 13.98 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.7882, allocations: 7.438 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.7889, allocations: 1.171 MB / 1.278 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.7892, allocations: 0.6792 MB / 1.278 GB, free: 17.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.7892, allocations: 8.266 kB / 1.278 GB, free: 17.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.7892, allocations: 14.41 kB / 1.278 GB, free: 17.41 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.7892, allocations: 0 / 1.278 GB, free: 17.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.8116, allocations: 1.754 MB / 1.28 GB, free: 17.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.82/7.632, allocations: 11.06 kB / 1.28 GB, free: 17.04 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 12.944098420000046]