Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.0008724/0.0008724, 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.0009131/0.0009131, 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.8883/0.8883, 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.74/1.74, allocations: 377.9 MB / 0.6221 GB, free: 8.668 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.ConvertTimeNegativeStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.829e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002146/0.002174, allocations: 1.48 MB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003583/0.002532, allocations: 179.3 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.002572, allocations: 0 / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.002602, allocations: 3.938 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.00283, allocations: 27.86 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.002995, allocations: 55.61 kB / 0.9827 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.003087, allocations: 63.77 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.003179, allocations: 7.984 kB / 0.9828 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.003247, allocations: 31.98 kB / 0.9828 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.003319, allocations: 27.89 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.003344, allocations: 4 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.003355, allocations: 7.938 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.003376, allocations: 11.98 kB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.003416, allocations: 23.97 kB / 0.9829 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.003521, allocations: 59.72 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.003524, allocations: 8 kB / 0.9829 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003526, allocations: 0 / 0.9829 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.00353, allocations: 0 / 0.9829 GB, free: 0.5859 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.0004661/0.003996, allocations: 278.3 kB / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.004041, allocations: 8.031 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.004077, allocations: 38.75 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.004109, allocations: 0.9375 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/0.004195, allocations: 113.8 kB / 0.9833 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.00421, allocations: 4.375 kB / 0.9833 GB, free: 88 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.004221, allocations: 8.359 kB / 0.9833 GB, free: 80 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.004383, allocations: 136.2 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.004389, allocations: 192 / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.004401, allocations: 384 / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.004407, allocations: 4.125 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.004452, allocations: 20 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.00484, allocations: 247.9 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.004942, allocations: 50.5 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/0.00497, allocations: 20.8 kB / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.004979, allocations: 0 / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.00513, allocations: 63.48 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.005131, allocations: 0 / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0001846/0.005315, allocations: 93.5 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.005371, allocations: 106.8 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.005433, allocations: 109.8 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.005449, allocations: 25.7 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.005485, allocations: 84.14 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.005505, allocations: 11.91 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.005544, allocations: 25.7 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.005626, allocations: 322.8 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.005651, allocations: 16 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.005711, allocations: 89.97 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.259e-05/0.005764, allocations: 33 kB / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.005766, allocations: 0 / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.748e-05/0.005853, allocations: 81.58 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.005867, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.005872, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.005883, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.005951, allocations: 11.98 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005956, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.006022, allocations: 20.45 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.006031, allocations: 4 kB / 0.9849 GB, free: 14.34 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.713e-05/0.006098, allocations: 113.8 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.006107, allocations: 3.938 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.006125, allocations: 7.812 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006127, allocations: 0 / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.006132, allocations: 4 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006135, allocations: 0 / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.036e-05/0.006225, allocations: 140.7 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.006227, allocations: 4 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/0.00624, allocations: 7.938 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.006242, allocations: 0 / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.00625, allocations: 4 kB / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006252, allocations: 0 / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.006254, allocations: 0 / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.634e-05/0.00635, allocations: 101 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.006378, allocations: 4 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.006393, allocations: 7.984 kB / 0.9852 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.006445, allocations: 11.92 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.006479, allocations: 4 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.006483, allocations: 7.938 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.117e-05/0.006514, allocations: 87.27 kB / 0.9853 GB, free: 13.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006514, allocations: 0 / 0.9853 GB, free: 13.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00014/0.006654, allocations: 16 kB / 0.9854 GB, free: 13.76 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.0002923/0.006947, allocations: 0.6358 MB / 0.986 GB, free: 13.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.007054, allocations: 36.3 kB / 0.986 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007056, allocations: 3.938 kB / 0.986 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.007084, allocations: 16 kB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.007207, allocations: 6.234 kB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008436/0.008051, allocations: 1.223 MB / 0.9872 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.00809, allocations: 67.3 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.008124, allocations: 4 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.008162, allocations: 16.5 kB / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.008162, allocations: 0 / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.02644, allocations: 2.548 MB / 0.9898 GB, free: 9.273 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.771/6.798, allocations: 15.52 kB / 0.9898 GB, free: 9.262 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --stepSize=25228.8 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.816033404320478]