Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.006513/0.006513, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001423/0.001423, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.562/2.562, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.22 kB / 0.9509 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3509, allocations: 140.4 MB / 1.088 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.004084/0.355, allocations: 1.453 MB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006854/0.3557, allocations: 189.6 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.102e-05/0.3558, allocations: 0 / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.3559, allocations: 11.86 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.3563, allocations: 23.86 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.3566, allocations: 58.41 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.3568, allocations: 63.72 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3569, allocations: 7.938 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.357, allocations: 23.98 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3571, allocations: 19.92 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.3571, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.859e-05/0.3572, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.3572, allocations: 19.91 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.3573, allocations: 23.92 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.3574, allocations: 47.8 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3574, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3574, allocations: 4 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.3574, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 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.0008282/0.3583, allocations: 347.4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3583, allocations: 12.03 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.3584, allocations: 0.9375 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3586, allocations: 176.3 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3586, allocations: 384 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3586, allocations: 8.375 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.3588, allocations: 80.75 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3589, allocations: 192 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3589, allocations: 3.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3589, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.544e-05/0.359, allocations: 15.98 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.3595, allocations: 276.8 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.3596, allocations: 50.55 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.3597, allocations: 12.86 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.3597, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.3599, allocations: 59.48 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.3599, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003253/0.3603, allocations: 85.56 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.3604, allocations: 102.8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3605, allocations: 113.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.3605, allocations: 25.7 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.3606, allocations: 80.14 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.3606, allocations: 15.91 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.3606, allocations: 21.7 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3608, allocations: 322.8 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/0.3609, allocations: 8 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/0.3609, allocations: 42.5 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/0.361, allocations: 28.8 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.361, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001169/0.3611, allocations: 57.69 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3611, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3612, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.3612, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.3613, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3613, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3614, allocations: 12.02 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.3614, allocations: 7.984 kB / 1.092 GB, free: 13.45 MB / 0.8575 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 0.0001021/0.3615, allocations: 121.7 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.3616, allocations: 7.938 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.3616, allocations: 7.5 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3616, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3616, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3616, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.3618, allocations: 181.9 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3618, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.3619, allocations: 11.94 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3619, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.3619, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3619, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3619, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.3621, allocations: 93.05 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.3622, allocations: 85.05 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3622, allocations: 8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3624, allocations: 7.984 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.3624, allocations: 11.94 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.3624, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.465e-05/0.3625, allocations: 83.27 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3625, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002151/0.3627, allocations: 16 kB / 1.092 GB, free: 12.72 MB / 0.8575 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 0.0001577/0.3629, allocations: 99.48 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.363, allocations: 35.98 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.363, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.041e-05/0.3631, allocations: 19.92 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.3633, allocations: 15.73 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.3637, allocations: 121.5 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.3641, allocations: 0.6807 MB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.515e-05/0.3642, allocations: 4 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.3642, allocations: 23.38 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of SimCode: time 7.51e-07/0.3642, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of Templates: time 0.004368/0.3686, allocations: 0.8744 MB / 1.094 GB, free: 10.84 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches