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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001256/0.001256, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 200.7 kB / 16.79 MB, free: 6.828 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.724/0.7256, allocations: 140.3 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002485/0.7281, allocations: 1.532 MB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004007/0.7285, allocations: 185.7 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.7286, allocations: 1.344 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.7286, allocations: 3.938 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.7289, allocations: 24.41 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.7291, allocations: 50.11 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.021e-05/0.7292, allocations: 55.59 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.7293, allocations: 4.312 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.014e-05/0.7293, allocations: 23.83 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.7294, allocations: 21.91 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.7294, allocations: 2.594 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.7295, allocations: 2.312 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.7295, allocations: 14.89 kB / 0.9514 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.7295, allocations: 18.84 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.687e-05/0.7296, allocations: 35.3 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7296, allocations: 0 / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.32e-07/0.7296, allocations: 0 / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.7296, allocations: 0 / 0.9515 GB, free: 7.637 MB / 0.7169 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.000452/0.7301, allocations: 353.5 kB / 0.9518 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.7302, allocations: 8.719 kB / 0.9518 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.7302, allocations: 11.22 kB / 0.9519 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.7303, allocations: 168.5 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.7303, allocations: 1.562 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.7304, allocations: 5.562 kB / 0.952 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.7305, allocations: 71.16 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.7305, allocations: 192 / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.7305, allocations: 5.031 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7305, allocations: 5.438 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.483e-05/0.7306, allocations: 24.86 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.7309, allocations: 281.5 kB / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.511e-05/0.731, allocations: 39.22 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.7311, allocations: 15.17 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.7311, allocations: 3.984 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.7312, allocations: 67.23 kB / 0.9525 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.7312, allocations: 0 / 0.9525 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002036/0.7314, allocations: 71 kB / 0.9526 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.7315, allocations: 104.3 kB / 0.9527 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.947e-05/0.7316, allocations: 104.6 kB / 0.9528 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.7316, allocations: 26.95 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.7316, allocations: 81.64 kB / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.7316, allocations: 18.52 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.7317, allocations: 23.06 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.7317, allocations: 324.1 kB / 0.9532 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.7318, allocations: 9.5 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.061e-05/0.7318, allocations: 40.12 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.7319, allocations: 23.86 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7319, allocations: 1.375 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.725e-05/0.732, allocations: 55.56 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.732, allocations: 9.531 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.732, allocations: 0 / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.732, allocations: 1.375 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.7321, allocations: 13.42 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.7321, allocations: 0 / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.7322, allocations: 5.5 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.7322, allocations: 5.797 kB / 0.9534 GB, free: 5.652 MB / 0.7169 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.684e-05/0.7323, allocations: 116.7 kB / 0.9535 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.7323, allocations: 10.66 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.7323, allocations: 12.86 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7323, allocations: 0 / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7323, allocations: 5.375 kB / 0.9535 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.7324, allocations: 0 / 0.9535 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.077e-05/0.7324, allocations: 173.8 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.7324, allocations: 0 / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.7325, allocations: 6.75 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7325, allocations: 1.375 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.7325, allocations: 0 / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7325, allocations: 1.375 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7325, allocations: 4 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.7326, allocations: 95.17 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.7327, allocations: 95.56 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.7327, allocations: 1.5 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.7328, allocations: 9.297 kB / 0.9539 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.7328, allocations: 5.094 kB / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.7329, allocations: 2.469 kB / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.762e-05/0.7329, allocations: 88.45 kB / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7329, allocations: 0 / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002458/0.7331, allocations: 14.06 kB / 0.954 GB, free: 4.992 MB / 0.7169 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.0001168/0.7333, allocations: 101.5 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.7334, allocations: 34.17 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7334, allocations: 0 / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.7334, allocations: 21.3 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.7336, allocations: 8.719 kB / 0.9542 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.7339, allocations: 153 kB / 0.9543 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.734, allocations: 0.6797 MB / 0.955 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.7341, allocations: 10.56 kB / 0.955 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.7341, allocations: 0 / 0.955 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.00217/0.7363, allocations: 0.8283 MB / 0.9558 GB, free: 3.59 MB / 0.7169 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