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.0007669/0.0007669, 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.0007845/0.0007845, 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.9088/0.9088, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.691/1.691, allocations: 359 MB / 0.6037 GB, free: 11.11 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.813e-06/1.813e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.504e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001815/0.00183, allocations: 1.479 MB / 0.952 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.002173, allocations: 187.8 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.002207, allocations: 0 / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.002232, allocations: 0 / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.002419, allocations: 19.86 kB / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.002554, allocations: 58.97 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.078e-05/0.002635, allocations: 63.78 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.155e-05/0.002717, allocations: 11.98 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.22e-05/0.002779, allocations: 31.97 kB / 0.9523 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.002949, allocations: 19.91 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.002974, allocations: 8 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.002984, allocations: 4 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.003006, allocations: 19.97 kB / 0.9524 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.003038, allocations: 11.94 kB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.403e-05/0.003132, allocations: 67.83 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.003134, allocations: 0 / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003135, allocations: 0 / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.003138, allocations: 3.938 kB / 0.9524 GB, free: 1.496 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.000393/0.003531, allocations: 282.2 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.003568, allocations: 12.03 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.003597, allocations: 34.73 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.003623, allocations: 4.938 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.998e-05/0.003703, allocations: 113.8 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.003715, allocations: 384 / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.003724, allocations: 8.375 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.003901, allocations: 136.2 kB / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.003909, allocations: 192 / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.00392, allocations: 8.312 kB / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.003926, allocations: 4.125 kB / 0.953 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.003969, allocations: 15.94 kB / 0.953 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.004315, allocations: 251.9 kB / 0.9533 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.783e-05/0.004403, allocations: 42.56 kB / 0.9533 GB, free: 468 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.004426, allocations: 16.8 kB / 0.9533 GB, free: 448 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.004435, allocations: 11.94 kB / 0.9533 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.00455, allocations: 63.48 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.004552, allocations: 0 / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001571/0.004709, allocations: 85.81 kB / 0.9535 GB, free: 268 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.00476, allocations: 106.8 kB / 0.9536 GB, free: 136 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.497e-05/0.004815, allocations: 105.8 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.004839, allocations: 29.64 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.004872, allocations: 88.14 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.004888, allocations: 7.906 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.004922, allocations: 29.7 kB / 0.9538 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.952e-05/0.004992, allocations: 314.8 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.005016, allocations: 15.98 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.005068, allocations: 89.97 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.005114, allocations: 37 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005116, allocations: 0 / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.455e-05/0.00519, allocations: 73.69 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.005201, allocations: 8 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005205, allocations: 3.938 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.005215, allocations: 0 / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.005265, allocations: 7.984 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.00527, allocations: 4.031 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.005327, allocations: 15.89 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.005334, allocations: 3.984 kB / 0.9544 GB, free: 15.25 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 5.978e-05/0.005394, allocations: 117.8 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.005402, allocations: 7.938 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.525e-05/0.005418, allocations: 7.812 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.005419, allocations: 0 / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.005423, allocations: 4 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.005426, allocations: 0 / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.655e-05/0.005503, allocations: 140.6 kB / 0.9546 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005503, allocations: 4 kB / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-06/0.005513, allocations: 4 kB / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.005514, allocations: 0 / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.005519, allocations: 0 / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.00552, allocations: 0 / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00552, allocations: 0 / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.097e-05/0.005601, allocations: 109.2 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.005624, allocations: 4.062 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.005637, allocations: 4 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.172e-05/0.005689, allocations: 18.64 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.005715, allocations: 7.984 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.00572, allocations: 4 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.021e-05/0.00575, allocations: 87.27 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.00575, allocations: 0 / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001237/0.005874, allocations: 12 kB / 0.9549 GB, free: 14.66 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.0002485/0.006123, allocations: 0.6319 MB / 0.9555 GB, free: 14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.021e-05/0.006213, allocations: 35.98 kB / 0.9555 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.006214, allocations: 0 / 0.9555 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.69e-05/0.006241, allocations: 19.92 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.006346, allocations: 12 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.007066, allocations: 1.2 MB / 0.9567 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.667e-05/0.007103, allocations: 71.42 kB / 0.9568 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.007129, allocations: 15.83 kB / 0.9568 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.007164, allocations: 16.5 kB / 0.9568 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.007164, allocations: 0 / 0.9568 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.02111, allocations: 2.547 MB / 0.9593 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/6.983, allocations: 7.5 kB / 0.9593 GB, free: 10.18 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 & /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/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.954360173083842]