Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007699/0.0007699, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007906/0.0007906, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8974/0.8974, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.656/1.656, allocations: 359 MB / 0.6037 GB, free: 11.1 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.ConvertTimeNegativeStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.521e-05, allocations: 9.312 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002609/0.002635, allocations: 1.475 MB / 0.952 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003553/0.00299, allocations: 179.9 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.003029, allocations: 0 / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.003056, allocations: 3.938 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.003265, allocations: 23.84 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.00342, allocations: 59.11 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.957e-05/0.003509, allocations: 63.83 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.0036, allocations: 8 kB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.737e-05/0.003677, allocations: 43.83 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.00375, allocations: 11.98 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.003776, allocations: 8 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.003787, allocations: 4 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.003812, allocations: 19.91 kB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.003848, allocations: 15.98 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.00395, allocations: 59.78 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.003953, allocations: 0 / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.673e-06/0.003955, allocations: 0 / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.003959, allocations: 7.938 kB / 0.9524 GB, free: 1.484 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.0004377/0.004397, allocations: 286.2 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.004437, allocations: 8.031 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.004468, allocations: 34.75 kB / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.004499, allocations: 4.938 kB / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.451e-05/0.004583, allocations: 113.7 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.004597, allocations: 4.375 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.004606, allocations: 4.375 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.004746, allocations: 132.1 kB / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004754, allocations: 8.188 kB / 0.953 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.004766, allocations: 4.375 kB / 0.953 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.004771, allocations: 4.125 kB / 0.953 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.199e-05/0.004813, allocations: 15.98 kB / 0.953 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.005181, allocations: 247.9 kB / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.908e-05/0.00528, allocations: 46.5 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.005305, allocations: 16.89 kB / 0.9533 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.005317, allocations: 7.984 kB / 0.9533 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.005481, allocations: 63.39 kB / 0.9534 GB, free: 352 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.005482, allocations: 4 kB / 0.9534 GB, free: 348 kB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001883/0.00567, allocations: 77.58 kB / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.00573, allocations: 110.8 kB / 0.9536 GB, free: 128 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.005791, allocations: 105.8 kB / 0.9537 GB, free: 12 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.005822, allocations: 25.7 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.005865, allocations: 88.14 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.005887, allocations: 11.89 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.005921, allocations: 21.72 kB / 0.9538 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.005999, allocations: 318.8 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.006024, allocations: 12 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.006083, allocations: 97.97 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.064e-05/0.006133, allocations: 33.06 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006135, allocations: 3.938 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.433e-05/0.00622, allocations: 77.55 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.006236, allocations: 10.81 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.006242, allocations: 0 / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.006258, allocations: 3.984 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.006322, allocations: 8 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.006329, allocations: 4 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.006395, allocations: 15.88 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.006402, allocations: 4.031 kB / 0.9544 GB, free: 15.24 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 7.276e-05/0.006475, allocations: 121.8 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.006485, allocations: 3.938 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.006502, allocations: 3.812 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.006505, allocations: 4 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.00651, allocations: 3.938 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.006513, allocations: 3.984 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.941e-05/0.006603, allocations: 136.7 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.006605, allocations: 0.5 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.006623, allocations: 4 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006624, allocations: 4 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.006633, allocations: 4 kB / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.006635, allocations: 0 / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006636, allocations: 4 kB / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.006743, allocations: 97 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.006775, allocations: 11.98 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.006791, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.00684, allocations: 11.98 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.006871, allocations: 4 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.006876, allocations: 4 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.291e-05/0.006909, allocations: 87.27 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.006909, allocations: 3.938 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000136/0.007045, allocations: 16 kB / 0.9549 GB, free: 14.65 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.0003109/0.007356, allocations: 0.6319 MB / 0.9555 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.007471, allocations: 39.92 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.007473, allocations: 0 / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.007502, allocations: 12 kB / 0.9556 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.0001242/0.007626, allocations: 4 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.0008475/0.008474, allocations: 1.211 MB / 0.9568 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.008519, allocations: 71.34 kB / 0.9568 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.013e-05/0.008559, allocations: 7.906 kB / 0.9568 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.008599, allocations: 16.5 kB / 0.9568 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of SimCode: time 1.182e-06/0.0086, allocations: 0 / 0.9568 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.0259, allocations: 2.553 MB / 0.9593 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.009, allocations: 10.7 kB / 0.9593 GB, free: 10.16 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --stepSize=25228.8 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.930757754482329]