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.0008599/0.0008599, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00147/0.00147, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8875/0.8875, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.662/1.662, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.102e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002392/0.002413, allocations: 1.473 MB / 0.952 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004124/0.002825, allocations: 179.9 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.002867, allocations: 4 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.0029, allocations: 7.922 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.003118, allocations: 19.86 kB / 0.9522 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.003293, allocations: 63.78 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.003399, allocations: 63.83 kB / 0.9523 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.003493, allocations: 4 kB / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.707e-05/0.003571, allocations: 35.91 kB / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.003653, allocations: 19.97 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.003683, allocations: 4 kB / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.003697, allocations: 8 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.003721, allocations: 11.92 kB / 0.9524 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.003764, allocations: 19.98 kB / 0.9524 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.00388, allocations: 63.77 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003882, allocations: 4 kB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.363e-06/0.003883, allocations: 0 / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.003887, allocations: 3.938 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004875/0.004375, allocations: 282.2 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.004417, allocations: 12.03 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.004455, allocations: 34.75 kB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.004491, allocations: 8.922 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.004597, allocations: 113.7 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.004611, allocations: 384 / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.004624, allocations: 8.375 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.004789, allocations: 128.2 kB / 0.953 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.004797, allocations: 192 / 0.953 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.00481, allocations: 4.375 kB / 0.953 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.004818, allocations: 8.125 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.196e-05/0.00487, allocations: 15.98 kB / 0.953 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.005286, allocations: 247.9 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.005399, allocations: 38.58 kB / 0.9533 GB, free: 492 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.005436, allocations: 28.88 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.005445, allocations: 0 / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.00561, allocations: 67.33 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.005611, allocations: 4 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001978/0.005809, allocations: 81.62 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.005869, allocations: 106.8 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.882e-05/0.005938, allocations: 105.9 kB / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.005955, allocations: 29.7 kB / 0.9537 GB, free: 4 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.006011, allocations: 84.12 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.006035, allocations: 19.97 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.006081, allocations: 25.7 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.00617, allocations: 314.8 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.006203, allocations: 15.98 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/0.006273, allocations: 97.86 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.006338, allocations: 36.98 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.00634, allocations: 0 / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001167/0.006456, allocations: 69.62 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.00647, allocations: 4 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006475, allocations: 0 / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.006487, allocations: 4 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.006556, allocations: 4 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.006562, allocations: 3.938 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.274e-05/0.006645, allocations: 23.88 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.006652, allocations: 4.031 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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 7.281e-05/0.006725, allocations: 117.8 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.006741, allocations: 11.92 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.00676, allocations: 3.812 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.006762, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.006766, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006769, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.006875, allocations: 144.7 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006876, allocations: 0.5 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.006896, allocations: 4 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.006899, allocations: 7.984 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.006906, allocations: 0 / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.006909, allocations: 4 kB / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.00691, allocations: 0 / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.007036, allocations: 101 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.007071, allocations: 11.98 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.007089, allocations: 0 / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.007157, allocations: 7.984 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.007189, allocations: 7.984 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.007194, allocations: 0 / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.007233, allocations: 91.28 kB / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.007233, allocations: 0 / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002139/0.007447, allocations: 12 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003479/0.007795, allocations: 0.6358 MB / 0.9555 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.007913, allocations: 35.98 kB / 0.9555 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007915, allocations: 0 / 0.9555 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.414e-05/0.007949, allocations: 19.94 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.008112, allocations: 7.984 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009969/0.009109, allocations: 1.204 MB / 0.9567 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.656e-05/0.009155, allocations: 71.28 kB / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.009197, allocations: 15.89 kB / 0.9568 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.009237, allocations: 12.5 kB / 0.9568 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.009238, allocations: 0 / 0.9568 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.02578, allocations: 2.542 MB / 0.9593 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.808/6.833, allocations: 10.39 kB / 0.9593 GB, free: 10.2 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.908669022843242]