Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008252/0.0008252, 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.0008362/0.0008362, 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.8663/0.8663, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.756/1.756, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.042e-05, allocations: 2.281 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00207/0.00209, allocations: 1.478 MB / 0.9824 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003371/0.002427, allocations: 183.3 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.002467, allocations: 3.938 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.002495, allocations: 3.938 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.002718, allocations: 23.91 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.00287, allocations: 54.48 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.002963, allocations: 67.77 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.003049, allocations: 3.984 kB / 0.9828 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.003118, allocations: 39.91 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.003186, allocations: 23.91 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.003212, allocations: 8 kB / 0.9828 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.003224, allocations: 4 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.003246, allocations: 11.98 kB / 0.9828 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.003283, allocations: 19.92 kB / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.003384, allocations: 63.83 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003386, allocations: 0 / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.643e-06/0.003388, allocations: 0 / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003392, allocations: 0 / 0.9829 GB, free: 0.5586 MB / 0.9323 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.0004398/0.003832, allocations: 278.3 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.003873, allocations: 8.031 kB / 0.9832 GB, free: 252 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.00391, allocations: 38.75 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.00394, allocations: 4.938 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.004031, allocations: 117.7 kB / 0.9833 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.004046, allocations: 4.375 kB / 0.9833 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.004055, allocations: 4.375 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.00421, allocations: 132.2 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.004217, allocations: 192 / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004228, allocations: 384 / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004234, allocations: 8.062 kB / 0.9835 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/0.004281, allocations: 27.92 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.004659, allocations: 239.9 kB / 0.9837 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.794e-05/0.004756, allocations: 50.48 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.004782, allocations: 20.8 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.004791, allocations: 96 / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.004942, allocations: 67.38 kB / 0.9839 GB, free: 15.42 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.004943, allocations: 0 / 0.9839 GB, free: 15.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.000174/0.005117, allocations: 85.58 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.005166, allocations: 102.8 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.689e-05/0.005223, allocations: 105.8 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.005238, allocations: 29.7 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.005273, allocations: 88.14 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.005294, allocations: 23.95 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.00533, allocations: 17.72 kB / 0.9843 GB, free: 14.92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.005412, allocations: 318.8 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.005441, allocations: 16 kB / 0.9846 GB, free: 14.58 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.005494, allocations: 85.97 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.006e-05/0.005544, allocations: 37 kB / 0.9847 GB, free: 14.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005546, allocations: 0 / 0.9847 GB, free: 14.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.131e-05/0.005627, allocations: 77.52 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.005639, allocations: 4 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005644, allocations: 4.031 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.005656, allocations: 3.984 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.00572, allocations: 8 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.005724, allocations: 0 / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.005785, allocations: 12.42 kB / 0.9848 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.005795, allocations: 8 kB / 0.9849 GB, free: 14.32 MB / 0.948 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.36e-05/0.005858, allocations: 109.8 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.005867, allocations: 3.938 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.005887, allocations: 15.81 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005889, allocations: 4 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.005893, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.005897, allocations: 7.922 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.421e-05/0.005981, allocations: 140.7 kB / 0.9851 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.005982, allocations: 7.938 kB / 0.9851 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.005995, allocations: 0 / 0.9851 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005997, allocations: 0 / 0.9851 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.006003, allocations: 7.938 kB / 0.9851 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006004, allocations: 0 / 0.9851 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.006005, allocations: 0 / 0.9851 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.296e-05/0.006098, allocations: 101 kB / 0.9852 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.006125, allocations: 7.984 kB / 0.9852 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.006142, allocations: 8 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.88e-05/0.006191, allocations: 7.984 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.00622, allocations: 4 kB / 0.9853 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.006224, allocations: 0 / 0.9853 GB, free: 13.83 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.006259, allocations: 87.27 kB / 0.9853 GB, free: 13.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006259, allocations: 0 / 0.9853 GB, free: 13.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000129/0.006388, allocations: 15.94 kB / 0.9854 GB, free: 13.73 MB / 0.948 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.0002738/0.006662, allocations: 0.6361 MB / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.006769, allocations: 43.98 kB / 0.986 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.006772, allocations: 4 kB / 0.986 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.006799, allocations: 12 kB / 0.986 GB, free: 13.01 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.00692, allocations: 4 kB / 0.986 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.007733, allocations: 1.215 MB / 0.9872 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.007773, allocations: 67.3 kB / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.007801, allocations: 4 kB / 0.9873 GB, free: 11.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.007839, allocations: 16.44 kB / 0.9873 GB, free: 11.6 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.00784, allocations: 4 kB / 0.9873 GB, free: 11.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.02369, allocations: 2.552 MB / 0.9898 GB, free: 9.242 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/6.856, allocations: 15.23 kB / 0.9898 GB, free: 9.23 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --stepSize=31587.8 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.836736406199634]