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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 220 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.752/2.752, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 68.12 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3198, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003631/0.3234, allocations: 1.503 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.3239, allocations: 185.2 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.3239, allocations: 7.938 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.3239, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.3242, allocations: 21.34 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.3244, allocations: 56.61 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.3245, allocations: 55.84 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.3246, allocations: 11.78 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.3247, allocations: 31.92 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.3248, allocations: 19.92 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.3248, allocations: 4 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.529e-05/0.3248, allocations: 4 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.3248, allocations: 15.97 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.3249, allocations: 23.86 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.325, allocations: 47.86 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.325, allocations: 0 / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/0.325, allocations: 0 / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.325, allocations: 0 / 1.285 GB, free: 9.762 MB / 0.9825 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.0007392/0.3258, allocations: 274.4 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.3258, allocations: 12.03 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.958e-05/0.3259, allocations: 38.73 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.3259, allocations: 12.83 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.3261, allocations: 114.4 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3261, allocations: 384 / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3262, allocations: 384 / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3264, allocations: 80.81 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3264, allocations: 3.938 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3264, allocations: 0 / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.3264, allocations: 0 / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.004e-05/0.3265, allocations: 27.91 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.327, allocations: 243.9 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.3271, allocations: 34.56 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.3271, allocations: 16.86 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.3271, allocations: 0 / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.3274, allocations: 71.42 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3274, allocations: 0 / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002388/0.3276, allocations: 69.67 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.3277, allocations: 106.8 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3278, allocations: 109.8 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3278, allocations: 33.7 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.3279, allocations: 80.14 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.3279, allocations: 15.89 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.3279, allocations: 17.72 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3281, allocations: 330.7 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.3281, allocations: 8 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.042e-05/0.3282, allocations: 30.56 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.368e-05/0.3282, allocations: 28.89 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3282, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000101/0.3283, allocations: 61.69 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3284, allocations: 4 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3284, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.3284, allocations: 4 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.3285, allocations: 7.938 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3285, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3286, allocations: 19.81 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3286, allocations: 4 kB / 1.287 GB, free: 7.711 MB / 0.9825 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 0.0001136/0.3287, allocations: 129.7 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.3287, allocations: 0 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.3287, allocations: 3.688 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3287, allocations: 4 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3287, allocations: 0 / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3287, allocations: 0 / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3289, allocations: 149.1 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3289, allocations: 0 / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.3289, allocations: 4 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3289, allocations: 8 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3289, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3289, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.3289, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.3291, allocations: 96.98 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.3291, allocations: 11.95 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3291, allocations: 3.984 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.3292, allocations: 8 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.3293, allocations: 7.984 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3293, allocations: 0 / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.421e-05/0.3293, allocations: 87.27 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3293, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001853/0.3295, allocations: 12 kB / 1.288 GB, free: 7.125 MB / 0.9825 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.0004812/0.33, allocations: 0.636 MB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.3301, allocations: 27.98 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3302, allocations: 4 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.161e-05/0.3302, allocations: 12 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.3303, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3315, allocations: 1.184 MB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3318, allocations: 0.6768 MB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.3319, allocations: 4 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.3319, allocations: 15.44 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3319, allocations: 0 / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.3582, allocations: 1.886 MB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.68, allocations: 2.844 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 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.csv","/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] "Error: Could not read variable conTim.modTim in file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.35531809999975]