Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001522/0.001522, allocations: 172.7 kB / 15.95 MB, free: 208 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.567/1.567, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.027/3.027, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003865, allocations: 17.25 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4147, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002229/0.417, allocations: 1.163 MB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005411/0.4176, allocations: 171.6 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.4176, allocations: 4 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.4177, allocations: 3.938 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.418, allocations: 19.91 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.4182, allocations: 58.48 kB / 1.059 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.4184, allocations: 51.75 kB / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.4185, allocations: 7.938 kB / 1.059 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.4185, allocations: 27.91 kB / 1.059 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.529e-05/0.4186, allocations: 15.92 kB / 1.059 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.4187, allocations: 4 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.4187, allocations: 0 / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.4187, allocations: 11.98 kB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.4188, allocations: 37.64 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.4189, allocations: 36.14 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4189, allocations: 0 / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4189, allocations: 0 / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.4189, allocations: 0 / 1.06 GB, free: 3.68 MB / 0.8106 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.0006428/0.4196, allocations: 335.4 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4196, allocations: 8.031 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.4197, allocations: 7.906 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.4199, allocations: 171 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.4199, allocations: 4 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.42, allocations: 7.953 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.4202, allocations: 76.25 kB / 1.06 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4202, allocations: 3.938 kB / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.4202, allocations: 0 / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.4202, allocations: 4 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.199e-05/0.4203, allocations: 12 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.4209, allocations: 280.8 kB / 1.06 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.421, allocations: 46.44 kB / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.421, allocations: 16.86 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.4211, allocations: 0 / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.4213, allocations: 63.48 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4213, allocations: 0 / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000272/0.4216, allocations: 69.67 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.4217, allocations: 106.8 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4218, allocations: 109.8 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.4219, allocations: 25.7 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.4219, allocations: 84.14 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.422, allocations: 19.69 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.422, allocations: 0 / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4221, allocations: 326.8 kB / 1.061 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.4222, allocations: 8 kB / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.643e-05/0.4222, allocations: 34.56 kB / 1.061 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.4223, allocations: 12 kB / 1.061 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.4223, allocations: 0 / 1.061 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001216/0.4224, allocations: 53.69 kB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4224, allocations: 11.94 kB / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4225, allocations: 4.031 kB / 1.061 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4225, allocations: 0 / 1.061 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.4226, allocations: 4 kB / 1.061 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4226, allocations: 4 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.4227, allocations: 7.984 kB / 1.061 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.4227, allocations: 4 kB / 1.061 GB, free: 1.547 MB / 0.8106 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 0.0001218/0.4229, allocations: 117.8 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.4229, allocations: 3.906 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.4229, allocations: 15.67 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4229, allocations: 7.984 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4229, allocations: 448 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.423, allocations: 0 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.4231, allocations: 173.6 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.4231, allocations: 7.984 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.4232, allocations: 4 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4232, allocations: 0 / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.4232, allocations: 0 / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4232, allocations: 0 / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4232, allocations: 0 / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.4234, allocations: 101 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.4235, allocations: 77.11 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.4235, allocations: 7.984 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.4236, allocations: 11.94 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.4236, allocations: 7.984 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.4237, allocations: 4 kB / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.323e-05/0.4237, allocations: 87.27 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.056e-05/0.4237, allocations: 0 / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000226/0.424, allocations: 19.84 kB / 1.062 GB, free: 0.8164 MB / 0.8106 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.0001429/0.4241, allocations: 100.8 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.4243, allocations: 35.92 kB / 1.062 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4243, allocations: 0 / 1.062 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.4243, allocations: 12 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.4245, allocations: 9.828 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.4249, allocations: 139.5 kB / 1.062 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.4253, allocations: 0.6809 MB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.568e-05/0.4253, allocations: 4 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.4254, allocations: 11.44 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.4254, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.003929/0.4293, allocations: 0.8059 MB / 1.064 GB, free: 15 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches