Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 107.2 kB / 16.45 MB, free: 6.508 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.001257/0.001257, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.399/1.399, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.96/2.96, allocations: 476.7 MB / 0.7611 GB, free: 11.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.ConvertTimeNegativeStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 71.88 kB / 1.104 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8209, allocations: 168.7 MB / 1.269 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003098/0.824, allocations: 1.455 MB / 1.27 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005003/0.8245, allocations: 191.4 kB / 1.27 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.8245, allocations: 0 / 1.27 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.8245, allocations: 7.938 kB / 1.27 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.8248, allocations: 23.84 kB / 1.27 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.825, allocations: 66.55 kB / 1.27 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.8251, allocations: 55.83 kB / 1.271 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.8252, allocations: 15.73 kB / 1.271 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/0.8253, allocations: 15.98 kB / 1.271 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.8254, allocations: 23.91 kB / 1.271 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.8254, allocations: 4 kB / 1.271 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.8254, allocations: 4 kB / 1.271 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.8255, allocations: 19.92 kB / 1.271 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.8255, allocations: 23.92 kB / 1.271 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.8256, allocations: 43.86 kB / 1.271 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8256, allocations: 4 kB / 1.271 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.203e-06/0.8256, allocations: 0 / 1.271 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8256, allocations: 0 / 1.271 GB, free: 3.262 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.0006108/0.8263, allocations: 353.3 kB / 1.271 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.8263, allocations: 12.03 kB / 1.271 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.119e-05/0.8264, allocations: 34.75 kB / 1.271 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.8264, allocations: 8.938 kB / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.8266, allocations: 168.3 kB / 1.271 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.8266, allocations: 8.312 kB / 1.271 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.8266, allocations: 384 / 1.271 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.8267, allocations: 76.81 kB / 1.271 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8268, allocations: 3.938 kB / 1.271 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.8268, allocations: 3.938 kB / 1.271 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.8268, allocations: 0 / 1.271 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.8268, allocations: 27.97 kB / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.8272, allocations: 272.8 kB / 1.272 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.584e-05/0.8273, allocations: 34.56 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.8274, allocations: 12.86 kB / 1.272 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.8274, allocations: 0 / 1.272 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.8276, allocations: 71.42 kB / 1.272 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.8276, allocations: 0 / 1.272 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002081/0.8278, allocations: 73.62 kB / 1.272 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/0.8279, allocations: 110.8 kB / 1.272 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.828, allocations: 105.8 kB / 1.272 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.828, allocations: 25.7 kB / 1.272 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.828, allocations: 88.08 kB / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.8281, allocations: 7.953 kB / 1.272 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.8281, allocations: 25.7 kB / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.8283, allocations: 318.8 kB / 1.272 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.8283, allocations: 15.98 kB / 1.272 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.937e-05/0.8283, allocations: 26.95 kB / 1.272 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.795e-05/0.8284, allocations: 36.78 kB / 1.272 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8284, allocations: 0 / 1.272 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001169/0.8285, allocations: 61.64 kB / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.8285, allocations: 4.031 kB / 1.273 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.8285, allocations: 7.984 kB / 1.273 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.8285, allocations: 0 / 1.273 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.8286, allocations: 8 kB / 1.273 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8286, allocations: 0 / 1.273 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.8287, allocations: 11.98 kB / 1.273 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.8287, allocations: 4 kB / 1.273 GB, free: 1.016 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 9.869e-05/0.8288, allocations: 117.7 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.8289, allocations: 4 kB / 1.273 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.8289, allocations: 11.48 kB / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.8289, allocations: 0 / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.8289, allocations: 4 kB / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.8289, allocations: 0 / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.8291, allocations: 177.5 kB / 1.273 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.8291, allocations: 0 / 1.273 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/0.8291, allocations: 7.984 kB / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8291, allocations: 0 / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.8291, allocations: 0 / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8291, allocations: 0 / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8291, allocations: 3.938 kB / 1.273 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.8293, allocations: 97.05 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.8293, allocations: 77.11 kB / 1.273 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.8294, allocations: 23.92 kB / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.8295, allocations: 6.031 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.8295, allocations: 3.984 kB / 1.273 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.8295, allocations: 4 kB / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.8296, allocations: 87.28 kB / 1.273 GB, free: 312 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8296, allocations: 0 / 1.273 GB, free: 312 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001983/0.8298, allocations: 12 kB / 1.273 GB, free: 300 kB / 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.0005699/0.8303, allocations: 0.6443 MB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.8304, allocations: 23.94 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8305, allocations: 4 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.8305, allocations: 15.98 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.8306, allocations: 8.812 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.8319, allocations: 1.162 MB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.8323, allocations: 0.6846 MB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.8323, allocations: 4 kB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.8323, allocations: 19.38 kB / 1.276 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.8323, allocations: 0 / 1.276 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.8584, allocations: 1.804 MB / 1.277 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.772, allocations: 14.23 kB / 1.277 GB, free: 11.96 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --stepSize=25228.8 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.847904639784247]