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.001268/0.001268, allocations: 107 kB / 15.99 MB, free: 6.355 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.001278/0.001278, allocations: 192.3 kB / 16.91 MB, free: 6.18 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.331/2.331, allocations: 390.2 MB / 0.665 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 60.36 kB / 0.8127 GB, free: 33.39 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2727, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003173/0.2759, allocations: 1.527 MB / 0.9513 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004933/0.2764, allocations: 183.4 kB / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.2765, allocations: 0 / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.2766, allocations: 0 / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.2768, allocations: 11.94 kB / 0.9515 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.277, allocations: 55.92 kB / 0.9515 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.428e-05/0.2771, allocations: 55.84 kB / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.2772, allocations: 7.984 kB / 0.9516 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.2773, allocations: 27.86 kB / 0.9516 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.2774, allocations: 23.92 kB / 0.9516 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.2774, allocations: 4 kB / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.2774, allocations: 4 kB / 0.9516 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.2775, allocations: 15.97 kB / 0.9516 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.2775, allocations: 19.88 kB / 0.9517 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.282e-05/0.2776, allocations: 40.16 kB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2776, allocations: 0 / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2776, allocations: 0 / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2777, allocations: 0 / 0.9517 GB, free: 7.254 MB / 0.7325 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.0005802/0.2782, allocations: 347.5 kB / 0.952 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2783, allocations: 12.03 kB / 0.952 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.2783, allocations: 4.844 kB / 0.952 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.2785, allocations: 172.3 kB / 0.9522 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.2785, allocations: 384 / 0.9522 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.2786, allocations: 8.375 kB / 0.9522 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.2787, allocations: 80.75 kB / 0.9523 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2788, allocations: 4.188 kB / 0.9523 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2788, allocations: 3.938 kB / 0.9523 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2788, allocations: 0 / 0.9523 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.2789, allocations: 15.98 kB / 0.9523 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.2793, allocations: 280.8 kB / 0.9526 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.832e-05/0.2794, allocations: 42.56 kB / 0.9526 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.2794, allocations: 16.94 kB / 0.9526 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.2794, allocations: 3.984 kB / 0.9526 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.2796, allocations: 59.39 kB / 0.9527 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.2796, allocations: 7.938 kB / 0.9527 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002155/0.2799, allocations: 73.62 kB / 0.9528 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.2799, allocations: 106.8 kB / 0.9529 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.28, allocations: 105.9 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.2801, allocations: 25.7 kB / 0.953 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.2801, allocations: 88.03 kB / 0.9531 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.2801, allocations: 15.84 kB / 0.9531 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.2802, allocations: 21.66 kB / 0.9531 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2803, allocations: 326.8 kB / 0.9534 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.2804, allocations: 8 kB / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-05/0.2804, allocations: 30.56 kB / 0.9535 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.322e-05/0.2805, allocations: 28.8 kB / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2805, allocations: 0 / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.96e-05/0.2806, allocations: 61.69 kB / 0.9536 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2806, allocations: 6.031 kB / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2806, allocations: 0 / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2806, allocations: 8.031 kB / 0.9536 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.2807, allocations: 7.984 kB / 0.9536 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2807, allocations: 448 / 0.9536 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2808, allocations: 7.906 kB / 0.9536 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.2809, allocations: 11.98 kB / 0.9536 GB, free: 5.043 MB / 0.7325 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.0001011/0.281, allocations: 121.8 kB / 0.9537 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.281, allocations: 0 / 0.9537 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.281, allocations: 3.5 kB / 0.9537 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.281, allocations: 4 kB / 0.9537 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.281, allocations: 7.938 kB / 0.9537 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.281, allocations: 0 / 0.9537 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.2812, allocations: 173.6 kB / 0.9539 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2812, allocations: 0 / 0.9539 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.2812, allocations: 4 kB / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2812, allocations: 0 / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2812, allocations: 0 / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2812, allocations: 0 / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2812, allocations: 0 / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.2814, allocations: 97.05 kB / 0.954 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.2815, allocations: 89 kB / 0.9541 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.2815, allocations: 4 kB / 0.9541 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2816, allocations: 7.984 kB / 0.9541 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.2816, allocations: 4 kB / 0.9541 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.2817, allocations: 0 / 0.9541 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.847e-05/0.2817, allocations: 87.27 kB / 0.9542 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2817, allocations: 3.938 kB / 0.9542 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002012/0.2819, allocations: 19.94 kB / 0.9542 GB, free: 4.328 MB / 0.7325 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.0001262/0.2821, allocations: 107.2 kB / 0.9543 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.2822, allocations: 31.98 kB / 0.9543 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2822, allocations: 0 / 0.9543 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.4e-05/0.2822, allocations: 19.92 kB / 0.9544 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.2824, allocations: 7.938 kB / 0.9544 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.2827, allocations: 155.6 kB / 0.9545 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.283, allocations: 0.6844 MB / 0.9552 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.2831, allocations: 15.44 kB / 0.9552 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2831, allocations: 0 / 0.9552 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of Templates: time 0.002161/0.2852, allocations: 0.8285 MB / 0.956 GB, free: 2.434 MB / 0.7325 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