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.001145/0.001145, allocations: 110.2 kB / 16.41 MB, free: 6.449 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.001067/0.001067, allocations: 193.4 kB / 17.34 MB, free: 5.738 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.523/2.523, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8126/0.814, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003064/0.8172, allocations: 1.458 MB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004973/0.8177, allocations: 187 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.8178, allocations: 3.938 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.8178, allocations: 8.547 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.8181, allocations: 25.28 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.8183, allocations: 60.78 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.8184, allocations: 56.78 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.8185, allocations: 9.172 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.8186, allocations: 23.91 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.8187, allocations: 19.25 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.8187, allocations: 4.531 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.8187, allocations: 8.531 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.8188, allocations: 17.25 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.8188, allocations: 17.05 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.8189, allocations: 57 kB / 1.091 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8189, allocations: 1.125 kB / 1.091 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8189, allocations: 0 / 1.091 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.8189, allocations: 0 / 1.091 GB, free: 4.254 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.0005134/0.8195, allocations: 345.3 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.8195, allocations: 13.41 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.8196, allocations: 3.734 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.8197, allocations: 177.6 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.8197, allocations: 1.375 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.8197, allocations: 6.594 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.8199, allocations: 75.27 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.8199, allocations: 192 / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.8199, allocations: 5.781 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8199, allocations: 5.062 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.747e-05/0.82, allocations: 18.77 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.8204, allocations: 275.4 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/0.8205, allocations: 37.97 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.8205, allocations: 16.73 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.8205, allocations: 5.547 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.8207, allocations: 70.86 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.8207, allocations: 0 / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000211/0.8209, allocations: 69.81 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.821, allocations: 103.8 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.08e-05/0.8211, allocations: 109.2 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.8211, allocations: 25.7 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.8211, allocations: 91.72 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.8211, allocations: 11.02 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.8212, allocations: 22.02 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.8213, allocations: 321.2 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.419e-05/0.8213, allocations: 6.516 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.8214, allocations: 40.11 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.164e-05/0.8214, allocations: 25 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8214, allocations: 0.6094 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.671e-05/0.8215, allocations: 62.84 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.8216, allocations: 5.719 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8216, allocations: 0.6562 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.8216, allocations: 1.25 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-05/0.8217, allocations: 5.969 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.8217, allocations: 1.062 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.8218, allocations: 13.22 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.8218, allocations: 1.125 kB / 1.092 GB, free: 2.359 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 6.788e-05/0.8219, allocations: 117.7 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.8219, allocations: 10.84 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.8219, allocations: 9.281 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8219, allocations: 1.094 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8219, allocations: 0.5156 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.822, allocations: 1.094 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.8221, allocations: 177.1 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8221, allocations: 0 / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.8221, allocations: 3.797 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8221, allocations: 4 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.8222, allocations: 2.062 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.8222, allocations: 5 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8222, allocations: 0 / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.8223, allocations: 93.8 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.8224, allocations: 95.34 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.8224, allocations: 5.734 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.8225, allocations: 8.094 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.8225, allocations: 4.938 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.8226, allocations: 9.703 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.8226, allocations: 85.95 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8226, allocations: 0.9688 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001894/0.8228, allocations: 9.438 kB / 1.093 GB, free: 1.73 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.0001345/0.8229, allocations: 102.2 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.8231, allocations: 28.55 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8231, allocations: 0.6562 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.8231, allocations: 18.55 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.8233, allocations: 23.45 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.8236, allocations: 143.2 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.8238, allocations: 0.6802 MB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.8238, allocations: 10.98 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.8238, allocations: 0 / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of Templates: time 0.002963/0.8268, allocations: 0.8204 MB / 1.095 GB, free: 0.7148 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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