Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 107.5 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.336/2.336, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 71.88 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6295/0.6307, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002102/0.6328, allocations: 1.459 MB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003608/0.6332, allocations: 187.4 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.6333, allocations: 3.938 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.6333, allocations: 3.984 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.6335, allocations: 19.86 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.6336, allocations: 63.22 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.85e-05/0.6338, allocations: 59.77 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.459e-05/0.6338, allocations: 12 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.6339, allocations: 19.98 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.634, allocations: 19.92 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.634, allocations: 4 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.634, allocations: 4 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.634, allocations: 23.91 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.6341, allocations: 15.92 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.044e-05/0.6342, allocations: 55.52 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.6342, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6342, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.6342, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004439/0.6346, allocations: 345.4 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.6347, allocations: 12.03 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.6347, allocations: 4.922 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.6348, allocations: 180.2 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.6348, allocations: 384 / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.6349, allocations: 4.375 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.635, allocations: 72.81 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.635, allocations: 4.188 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.635, allocations: 7.938 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.635, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.775e-05/0.6351, allocations: 15.98 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.6354, allocations: 272.8 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.045e-05/0.6355, allocations: 42.5 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.6355, allocations: 20.86 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.6355, allocations: 4.078 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.6357, allocations: 71.31 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 2.384e-06/0.6357, allocations: 0 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001672/0.6359, allocations: 73.53 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.6359, allocations: 106.8 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.636, allocations: 105.8 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.636, allocations: 29.7 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.6361, allocations: 84.14 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.6361, allocations: 11.89 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.6361, allocations: 17.72 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.6362, allocations: 326.8 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.352e-05/0.6363, allocations: 4 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.451e-05/0.6363, allocations: 38.5 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.6364, allocations: 28.89 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6364, allocations: 0 / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.609e-05/0.6365, allocations: 61.97 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.6365, allocations: 5.719 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.6365, allocations: 0 / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.6365, allocations: 64 / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.6366, allocations: 12 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6366, allocations: 3.984 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.6367, allocations: 8 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.6367, allocations: 8 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (5): * Single equations (assignments): 5 * 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.285e-05/0.6368, allocations: 121.7 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.6368, allocations: 4 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.551e-05/0.6368, allocations: 3.5 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6368, allocations: 4 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6368, allocations: 0 / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.6368, allocations: 0 / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.6369, allocations: 177.6 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.637, allocations: 0 / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.637, allocations: 4 kB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.637, allocations: 4 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.637, allocations: 0 / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.637, allocations: 0 / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.637, allocations: 0 / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.6371, allocations: 96.95 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.6372, allocations: 92.91 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.6372, allocations: 8 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.6373, allocations: 15.92 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.6374, allocations: 4 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.6374, allocations: 0 / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.004e-05/0.6374, allocations: 87.27 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6374, allocations: 0 / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001788/0.6376, allocations: 12 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.879e-05/0.6377, allocations: 99.25 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.6378, allocations: 27.98 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6378, allocations: 4 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.6379, allocations: 19.94 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.638, allocations: 11.92 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.6383, allocations: 155.4 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.6385, allocations: 0.6807 MB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.6385, allocations: 11.44 kB / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.6385, allocations: 0 / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of Templates: time 0.001942/0.6405, allocations: 0.8305 MB / 1.215 GB, free: 6.898 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time