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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001427/0.001427, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.777/2.777, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005415/0.0005417, allocations: 20 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.812, allocations: 153.6 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001815/0.8139, allocations: 1.157 MB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004037/0.8143, allocations: 163.6 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.8144, allocations: 3.938 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.8144, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.8146, allocations: 23.89 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.8149, allocations: 58.98 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.649e-05/0.8149, allocations: 27.91 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.815, allocations: 7.984 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.061e-05/0.8151, allocations: 23.92 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.8152, allocations: 23.92 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.8152, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.979e-05/0.8153, allocations: 4 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.8153, allocations: 7.969 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.8153, allocations: 33.7 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.342e-05/0.8154, allocations: 29.91 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.8154, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8154, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.8154, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 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.0005659/0.816, allocations: 347.2 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.8161, allocations: 15.92 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.8161, allocations: 3.906 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.8163, allocations: 167.1 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.8163, allocations: 4 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.8163, allocations: 3.984 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.8165, allocations: 72.2 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.8165, allocations: 4 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.8166, allocations: 8 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.8166, allocations: 0 / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.831e-05/0.8166, allocations: 19.92 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.8171, allocations: 272.8 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.8172, allocations: 34.58 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.8172, allocations: 8 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.8174, allocations: 63.42 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.8174, allocations: 0 / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002188/0.8176, allocations: 77.58 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.8177, allocations: 102.8 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.8178, allocations: 105.8 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.8179, allocations: 29.7 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/0.818, allocations: 88.12 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.818, allocations: 15.83 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.818, allocations: 4 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8182, allocations: 314.8 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.8182, allocations: 15.94 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.8182, allocations: 30.56 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.8183, allocations: 11.95 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8183, allocations: 4 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001101/0.8184, allocations: 69.94 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.8184, allocations: 4 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8184, allocations: 0 / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.8185, allocations: 4 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.8185, allocations: 8.062 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.8186, allocations: 7.922 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.8187, allocations: 10.19 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.8187, allocations: 0 / 1.024 GB, free: 13.43 MB / 0.7794 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.934e-05/0.8188, allocations: 129.8 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.8188, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.8189, allocations: 7.5 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.8189, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8189, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8189, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.819, allocations: 169.6 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.819, allocations: 3.953 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.8191, allocations: 0 / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.8191, allocations: 4 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.8191, allocations: 8 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8191, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8191, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.8192, allocations: 89.14 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.8193, allocations: 101 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.8193, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.8194, allocations: 11.98 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.8195, allocations: 8 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.8195, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.944e-05/0.8196, allocations: 87.27 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.826e-06/0.8196, allocations: 4 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001889/0.8198, allocations: 15.94 kB / 1.025 GB, free: 12.7 MB / 0.7794 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 (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.0001232/0.8199, allocations: 99.25 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.82, allocations: 27.98 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.82, allocations: 4 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.8201, allocations: 19.94 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.8202, allocations: 3.984 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.8205, allocations: 128.7 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.8209, allocations: 0.6809 MB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.8209, allocations: 11.98 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.821, allocations: 11.44 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.821, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of Templates: time 0.002908/0.8239, allocations: 0.7971 MB / 1.027 GB, free: 10.89 MB / 0.7794 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