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.001272/0.001272, allocations: 110.4 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.001433/0.001433, allocations: 220.5 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.988 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.77/2.77, 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.002064/0.002064, allocations: 66.86 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3385, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003548/0.342, allocations: 1.492 MB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005366/0.3426, allocations: 186 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.3426, allocations: 3.938 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.3427, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.3429, allocations: 27.84 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.3431, allocations: 61.84 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.3433, allocations: 55.84 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.3434, allocations: 11.78 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.3435, allocations: 27.92 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.3435, allocations: 23.92 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.3436, allocations: 4 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.3436, allocations: 4 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3436, allocations: 11.97 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.3437, allocations: 19.94 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.3438, allocations: 43.86 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.3438, allocations: 4 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3438, allocations: 0 / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3438, allocations: 0 / 1.285 GB, free: 9.75 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.0005727/0.3444, allocations: 278.4 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3444, allocations: 12.03 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.007e-05/0.3445, allocations: 38.69 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.3445, allocations: 4.891 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3446, allocations: 118.4 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.3447, allocations: 4.375 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.3447, allocations: 384 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.3449, allocations: 76.81 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3449, allocations: 7.938 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3449, allocations: 0 / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3449, allocations: 0 / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.3449, allocations: 23.88 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.3454, allocations: 247.9 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3455, allocations: 30.58 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.3455, allocations: 20.94 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.3455, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.3457, allocations: 71.33 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3457, allocations: 0 / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002279/0.346, allocations: 69.86 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.3461, allocations: 106.8 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.3462, allocations: 101.8 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3462, allocations: 37.7 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.3463, allocations: 80.14 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.3463, allocations: 15.84 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.3463, allocations: 21.7 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3465, allocations: 318.8 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/0.3465, allocations: 12 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.3466, allocations: 30.56 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.066e-05/0.3466, allocations: 33.25 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3466, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001134/0.3468, allocations: 65.69 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3468, allocations: 4 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3468, allocations: 0 / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3468, allocations: 3.984 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.3469, allocations: 11.94 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.3469, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.347, allocations: 15.88 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.347, allocations: 0 / 1.287 GB, free: 7.699 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.0001045/0.3471, allocations: 125.7 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.3471, allocations: 4 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.848e-05/0.3471, allocations: 3.688 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3471, allocations: 0 / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3471, allocations: 0 / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3471, allocations: 7.984 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.3473, allocations: 144.7 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3473, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.3473, allocations: 4 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3473, allocations: 4 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3473, allocations: 0 / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3473, allocations: 3.984 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3473, allocations: 0 / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.3475, allocations: 93 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.3475, allocations: 15.88 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3475, allocations: 4 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3476, allocations: 7.984 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.3477, allocations: 11.98 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3477, allocations: 0 / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.368e-05/0.3477, allocations: 87.34 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3477, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002092/0.3479, allocations: 12 kB / 1.288 GB, free: 7.109 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.0004895/0.3484, allocations: 0.6319 MB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.3486, allocations: 27.98 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3486, allocations: 0 / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.3486, allocations: 15.98 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.3487, allocations: 6.188 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.35, allocations: 1.172 MB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3504, allocations: 0.6807 MB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.3504, allocations: 8.266 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.3504, allocations: 15.44 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of SimCode: time 7.71e-07/0.3504, allocations: 0 / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.3807, allocations: 1.883 MB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.29, allocations: 5.625 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB " [Timeout remaining time 288] (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 --stepSize=31587.8 --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] Reference file matches [Calling sys.exit(0), Time elapsed: 17.797793105011806]