Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.005464/0.005464, allocations: 102 kB / 15.73 MB, free: 6.039 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.001203/0.001203, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.501/2.501, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.84 kB / 1.054 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8638/0.8651, allocations: 157.4 MB / 1.207 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00335/0.8685, allocations: 1.46 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004779/0.869, allocations: 191.4 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.8691, allocations: 0 / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.8692, allocations: 3.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.8695, allocations: 23.84 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.8697, allocations: 51.92 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.8698, allocations: 55.84 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.8699, allocations: 19.97 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.87, allocations: 23.86 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.442e-05/0.8701, allocations: 19.92 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.8702, allocations: 4 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.8702, allocations: 4 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.8702, allocations: 15.97 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.8703, allocations: 23.88 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.8704, allocations: 46.11 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.8704, allocations: 4 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8704, allocations: 4 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.8704, allocations: 0 / 1.209 GB, free: 11.66 MB / 0.9356 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.0006128/0.871, allocations: 351.4 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.8711, allocations: 12.03 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.8712, allocations: 34.75 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.8712, allocations: 4.938 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.8714, allocations: 172.3 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.8714, allocations: 384 / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.8714, allocations: 384 / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.8716, allocations: 84.75 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8716, allocations: 3.938 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.8716, allocations: 0 / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8716, allocations: 0 / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.088e-05/0.8717, allocations: 19.98 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.8721, allocations: 276.8 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.8723, allocations: 42.56 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.8723, allocations: 12.86 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.8723, allocations: 4 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.8725, allocations: 59.48 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.8726, allocations: 0 / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002291/0.8728, allocations: 77.52 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.8729, allocations: 110.8 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.873, allocations: 109.8 kB / 1.21 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.873, allocations: 25.7 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.8731, allocations: 84.14 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.8731, allocations: 15.83 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.8732, allocations: 21.62 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.8733, allocations: 322.8 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.8733, allocations: 8 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.8734, allocations: 38.94 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.724e-05/0.8735, allocations: 32.8 kB / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8735, allocations: 0 / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001157/0.8736, allocations: 57.69 kB / 1.211 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.8736, allocations: 9.875 kB / 1.211 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8736, allocations: 192 / 1.211 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8737, allocations: 0 / 1.211 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.8737, allocations: 4 kB / 1.211 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.8737, allocations: 0 / 1.211 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.8739, allocations: 20 kB / 1.211 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.8739, allocations: 0 / 1.211 GB, free: 9.414 MB / 0.9356 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 9.239e-05/0.874, allocations: 121.8 kB / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.874, allocations: 7.938 kB / 1.211 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.874, allocations: 3.5 kB / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.874, allocations: 0 / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8741, allocations: 0 / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8741, allocations: 0 / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.8742, allocations: 181.5 kB / 1.211 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.8742, allocations: 0 / 1.211 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.8742, allocations: 4 kB / 1.211 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.8743, allocations: 0 / 1.211 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.8743, allocations: 0 / 1.211 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8743, allocations: 4 kB / 1.211 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8743, allocations: 0 / 1.211 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.8744, allocations: 89.05 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.8745, allocations: 93.03 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.8745, allocations: 8.062 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.8746, allocations: 11.98 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.8747, allocations: 0 / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.8747, allocations: 3.938 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.21e-05/0.8747, allocations: 91.27 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.764e-06/0.8748, allocations: 0 / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002118/0.875, allocations: 11.94 kB / 1.212 GB, free: 8.695 MB / 0.9356 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.0004413/0.8754, allocations: 0.6396 MB / 1.212 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.8756, allocations: 31.92 kB / 1.212 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8756, allocations: 4 kB / 1.212 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.8756, allocations: 12 kB / 1.212 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.8758, allocations: 4 kB / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.8769, allocations: 1.176 MB / 1.214 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.8772, allocations: 0.6846 MB / 1.214 GB, free: 6 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.8772, allocations: 4 kB / 1.214 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.8773, allocations: 15.44 kB / 1.214 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8773, allocations: 0 / 1.214 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.8965, allocations: 1.81 MB / 1.216 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.586, allocations: 15.09 kB / 1.216 GB, free: 4.348 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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