Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.509/2.509, allocations: 390.3 MB / 402.8 MB, free: 6.625 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 176.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009141/0.0009148, allocations: 91.91 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.761e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3333, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.352, allocations: 150.7 MB / 1.366 GB, free: 3.316 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.352, allocations: 80.58 kB / 1.366 GB, free: 3.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007667/1.36, allocations: 2.741 MB / 1.369 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.473e-06/1.36, allocations: 0 / 1.369 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.36, allocations: 8 kB / 1.369 GB, free: 0.957 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004698/1.361, allocations: 337.9 kB / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.361, allocations: 8.031 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/1.361, allocations: 0.625 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/1.361, allocations: 174.3 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/1.361, allocations: 8 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/1.361, allocations: 3.984 kB / 1.369 GB, free: 368 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/1.361, allocations: 71.56 kB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.361, allocations: 3.938 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/1.361, allocations: 0 / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.361, allocations: 0 / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/1.361, allocations: 15.06 kB / 1.369 GB, free: 272 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/1.362, allocations: 263.2 kB / 1.37 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/1.362, allocations: 41.7 kB / 1.37 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/1.362, allocations: 16.38 kB / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/1.362, allocations: 4 kB / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/1.362, allocations: 57.91 kB / 1.37 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/1.362, allocations: 7.938 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002072/1.362, allocations: 61.23 kB / 1.37 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/1.362, allocations: 110.8 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/1.363, allocations: 96.19 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/1.363, allocations: 29.39 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/1.363, allocations: 84.12 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/1.363, allocations: 15.75 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/1.363, allocations: 3.438 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.363, allocations: 311.4 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/1.363, allocations: 11.81 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/1.363, allocations: 41.38 kB / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.422e-05/1.363, allocations: 11.44 kB / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.363, allocations: 0 / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001034/1.363, allocations: 53.31 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.363, allocations: 8 kB / 1.37 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.363, allocations: 0 / 1.37 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/1.363, allocations: 0 / 1.37 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/1.363, allocations: 4 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.363, allocations: 0 / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.874e-05/1.363, allocations: 19.97 kB / 1.37 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/1.363, allocations: 4 kB / 1.37 GB, free: 14.96 MB / 0.8386 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.435e-05/1.363, allocations: 108.8 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/1.363, allocations: 7.906 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/1.363, allocations: 7.484 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.363, allocations: 0 / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.363, allocations: 448 / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/1.363, allocations: 3.938 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/1.364, allocations: 176.2 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.364, allocations: 4 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/1.364, allocations: 4 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/1.364, allocations: 3.984 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/1.364, allocations: 3.5 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.364, allocations: 4 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.364, allocations: 3.984 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/1.364, allocations: 87.8 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/1.364, allocations: 96.94 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/1.364, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/1.364, allocations: 11.98 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/1.364, allocations: 11.23 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/1.364, allocations: 0 / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.179e-05/1.364, allocations: 83.16 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.61e-07/1.364, allocations: 0 / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001978/1.364, allocations: 15.94 kB / 1.371 GB, free: 14.28 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001819/1.365, allocations: 107.2 kB / 1.371 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001176/1.365, allocations: 33.86 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.365, allocations: 0 / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/1.365, allocations: 15.69 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/1.365, allocations: 9.594 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/1.365, allocations: 73.36 kB / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/1.365, allocations: 0.6809 MB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.887e-05/1.366, allocations: 15.94 kB / 1.372 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/1.366, allocations: 7.438 kB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.366, allocations: 0 / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.003206/1.369, allocations: 0.7971 MB / 1.373 GB, free: 12.56 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches