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.00951/0.00951, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.001875/0.001875, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.58/2.58, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.14 kB / 0.9509 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3591, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002627/0.3618, allocations: 1.457 MB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004743/0.3623, allocations: 188.8 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.3623, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.3624, allocations: 3.938 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.3626, allocations: 29.09 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.3628, allocations: 58.66 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.363, allocations: 59.78 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.3631, allocations: 7.984 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.3631, allocations: 19.98 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.328e-05/0.3632, allocations: 27.86 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3632, allocations: 4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.3633, allocations: 4 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.3633, allocations: 15.91 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.3634, allocations: 19.94 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3635, allocations: 51.8 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.3635, allocations: 3.984 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3635, allocations: 4 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3635, allocations: 0 / 1.09 GB, free: 15.56 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.0005769/0.3641, allocations: 343.4 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3641, allocations: 8.031 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.3642, allocations: 4.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3644, allocations: 180.3 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3644, allocations: 384 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.3644, allocations: 4.375 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3646, allocations: 72.75 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.3646, allocations: 192 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.3646, allocations: 11.94 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3646, allocations: 4 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.88e-05/0.3647, allocations: 15.98 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.3651, allocations: 272.9 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.815e-05/0.3652, allocations: 42.44 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.3653, allocations: 16.86 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.3653, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.3655, allocations: 71.42 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.3655, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002261/0.3657, allocations: 77.59 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.3658, allocations: 102.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.3659, allocations: 105.8 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3659, allocations: 29.7 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.366, allocations: 88.05 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.366, allocations: 7.844 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.3661, allocations: 25.7 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3662, allocations: 322.8 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.3662, allocations: 11.98 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.3663, allocations: 30.58 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.3664, allocations: 28.84 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3664, allocations: 3.938 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001062/0.3665, allocations: 61.59 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3665, allocations: 8 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3665, allocations: 4.031 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3665, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.3666, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3666, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3667, allocations: 8.422 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3667, allocations: 0 / 1.092 GB, free: 13.37 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 9.034e-05/0.3668, allocations: 123.7 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.3669, allocations: 4 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.3669, allocations: 7.484 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3669, allocations: 4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3669, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3669, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.3671, allocations: 177.5 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3671, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.3671, allocations: 3.984 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3671, allocations: 3.938 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3671, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3671, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3671, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.3673, allocations: 96.95 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.3674, allocations: 85.11 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3674, allocations: 3.984 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/0.3675, allocations: 8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.3675, allocations: 3.984 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3676, allocations: 4 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.736e-05/0.3676, allocations: 83.28 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3676, allocations: 7.938 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001906/0.3678, allocations: 8 kB / 1.092 GB, free: 12.64 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.0001368/0.368, allocations: 116.9 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.3681, allocations: 31.98 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3681, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.059e-05/0.3682, allocations: 12 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.3683, allocations: 8.953 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.3686, allocations: 129.5 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.369, allocations: 0.6807 MB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.3691, allocations: 7.906 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.3691, allocations: 11.44 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.3691, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of Templates: time 0.003242/0.3723, allocations: 0.8802 MB / 1.094 GB, free: 10.76 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