Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.0008239/0.0008239, 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.0009013/0.0009013, 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.8656/0.8656, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.631/1.631, allocations: 359 MB / 0.6037 GB, free: 11.06 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.ConvertTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.403e-05, allocations: 9.031 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001835/0.001849, allocations: 1.463 MB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003213/0.00217, allocations: 183.9 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.002206, allocations: 0 / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.002232, allocations: 3.938 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.002428, allocations: 27.84 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.00257, allocations: 61.48 kB / 0.9522 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.251e-05/0.002652, allocations: 63.83 kB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.002732, allocations: 7.984 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.002792, allocations: 31.92 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.002862, allocations: 23.95 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.002886, allocations: 4 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.002896, allocations: 4 kB / 0.9523 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.002917, allocations: 19.92 kB / 0.9523 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.00295, allocations: 19.98 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.127e-05/0.003041, allocations: 63.77 kB / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003043, allocations: 4 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.583e-06/0.003044, allocations: 0 / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.003048, allocations: 3.938 kB / 0.9524 GB, free: 1.473 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.0004001/0.003448, allocations: 282.2 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.003486, allocations: 8.031 kB / 0.9527 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.003526, allocations: 34.75 kB / 0.9527 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.003553, allocations: 4.922 kB / 0.9527 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.00364, allocations: 117.7 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.003652, allocations: 8.375 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.003663, allocations: 8.359 kB / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.003801, allocations: 132.2 kB / 0.953 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.003808, allocations: 192 / 0.953 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.003818, allocations: 384 / 0.953 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.003823, allocations: 4.125 kB / 0.953 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.269e-05/0.003866, allocations: 16 kB / 0.953 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.004203, allocations: 247.9 kB / 0.9533 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.589e-05/0.004289, allocations: 42.56 kB / 0.9533 GB, free: 452 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.004316, allocations: 24.8 kB / 0.9533 GB, free: 424 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.004324, allocations: 0 / 0.9533 GB, free: 424 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.004443, allocations: 67.42 kB / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.004444, allocations: 0 / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001624/0.004606, allocations: 85.62 kB / 0.9535 GB, free: 252 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.004655, allocations: 102.9 kB / 0.9536 GB, free: 124 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.00471, allocations: 105.8 kB / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.004735, allocations: 25.7 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.004776, allocations: 92.12 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.004792, allocations: 11.91 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.004828, allocations: 29.7 kB / 0.9538 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.0049, allocations: 318.8 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.004924, allocations: 12 kB / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.395e-05/0.004978, allocations: 93.91 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.005027, allocations: 32.86 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005029, allocations: 3.938 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.774e-05/0.005106, allocations: 69.78 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.005117, allocations: 4 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005122, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.005133, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.005192, allocations: 11.98 kB / 0.9543 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.005198, allocations: 12.03 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.00526, allocations: 15.88 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.005268, allocations: 4 kB / 0.9544 GB, free: 15.23 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 6.189e-05/0.00533, allocations: 117.8 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.005338, allocations: 3.938 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.732e-05/0.005355, allocations: 11.81 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.005356, allocations: 0 / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.00536, allocations: 0 / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.005363, allocations: 0.5 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.776e-05/0.005441, allocations: 144.7 kB / 0.9546 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005441, allocations: 4 kB / 0.9546 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.061e-05/0.005452, allocations: 4 kB / 0.9546 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.005453, allocations: 0 / 0.9546 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.005459, allocations: 4 kB / 0.9546 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.00546, allocations: 0 / 0.9546 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005461, allocations: 0 / 0.9546 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.983e-05/0.00555, allocations: 108.9 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.005574, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.005589, allocations: 7.984 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.005636, allocations: 15.98 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.005669, allocations: 7.984 kB / 0.9548 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.005673, allocations: 0 / 0.9548 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.005705, allocations: 87.27 kB / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005705, allocations: 0 / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001263/0.005831, allocations: 12 kB / 0.9549 GB, free: 14.64 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.0002451/0.006077, allocations: 0.6319 MB / 0.9555 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.006167, allocations: 39.92 kB / 0.9555 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006169, allocations: 0 / 0.9555 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.006194, allocations: 12 kB / 0.9555 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.006301, allocations: 14.5 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.007062, allocations: 1.208 MB / 0.9567 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.007101, allocations: 65.06 kB / 0.9568 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.007128, allocations: 11.84 kB / 0.9568 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.007167, allocations: 16.5 kB / 0.9568 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.007168, allocations: 0 / 0.9568 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.02133, allocations: 2.542 MB / 0.9593 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/6.739, allocations: 4.062 kB / 0.9593 GB, free: 10.12 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.69712685327977]