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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.009907/0.009907, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.002273/0.002274, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.6 MB / 0.7453 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 64.09 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9313/0.9327, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002538/0.9353, allocations: 1.461 MB / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004668/0.9358, allocations: 195.3 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.9359, allocations: 0 / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.9359, allocations: 3.938 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.9362, allocations: 23.84 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.9364, allocations: 58.91 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.9365, allocations: 55.8 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.9366, allocations: 11.98 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.9367, allocations: 23.97 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.13e-05/0.9368, allocations: 23.92 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.9368, allocations: 4 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.9368, allocations: 4 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.9369, allocations: 11.92 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.9369, allocations: 19.88 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.9371, allocations: 51.66 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.9371, allocations: 3.984 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9371, allocations: 4 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.9371, allocations: 4 kB / 1.228 GB, free: 11.58 MB / 0.9512 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.0005188/0.9376, allocations: 348 kB / 1.228 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.9377, allocations: 8.031 kB / 1.228 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.9377, allocations: 4.938 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.9378, allocations: 176.3 kB / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.9379, allocations: 384 / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.9379, allocations: 4.375 kB / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.938, allocations: 84.75 kB / 1.228 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.9381, allocations: 192 / 1.228 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.9381, allocations: 3.938 kB / 1.228 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.9381, allocations: 7.984 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.606e-05/0.9382, allocations: 15.98 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.9385, allocations: 272.9 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.9386, allocations: 42.5 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.9387, allocations: 16.86 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.9387, allocations: 0 / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.9389, allocations: 63.48 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 2.765e-06/0.9389, allocations: 0 / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002069/0.9391, allocations: 81.5 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.9392, allocations: 102.8 kB / 1.229 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/0.9392, allocations: 109.8 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.9393, allocations: 29.7 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.9393, allocations: 92.02 kB / 1.229 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.9394, allocations: 3.953 kB / 1.229 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.9394, allocations: 25.7 kB / 1.229 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9395, allocations: 318.8 kB / 1.229 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.9396, allocations: 15.98 kB / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-05/0.9396, allocations: 30.58 kB / 1.229 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.383e-05/0.9397, allocations: 28.84 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9397, allocations: 0 / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.9398, allocations: 69.58 kB / 1.229 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.9398, allocations: 5.719 kB / 1.229 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.9398, allocations: 0 / 1.229 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.9398, allocations: 0 / 1.229 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.9399, allocations: 4.438 kB / 1.229 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.9399, allocations: 4 kB / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.94, allocations: 12.02 kB / 1.229 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.9401, allocations: 4 kB / 1.229 GB, free: 9.383 MB / 0.9512 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 9.525e-05/0.9402, allocations: 119.2 kB / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.9402, allocations: 4 kB / 1.23 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.9402, allocations: 7.484 kB / 1.23 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.9402, allocations: 0 / 1.23 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9402, allocations: 0 / 1.23 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9402, allocations: 0 / 1.23 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.9404, allocations: 173.5 kB / 1.23 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9404, allocations: 4 kB / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.9404, allocations: 7.984 kB / 1.23 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.9404, allocations: 0 / 1.23 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.9404, allocations: 4 kB / 1.23 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.9404, allocations: 3.938 kB / 1.23 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9404, allocations: 0 / 1.23 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.9406, allocations: 89.05 kB / 1.23 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.9406, allocations: 89.05 kB / 1.23 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.9407, allocations: 3.984 kB / 1.23 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.9408, allocations: 12 kB / 1.23 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.9408, allocations: 4.219 kB / 1.23 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.9408, allocations: 4 kB / 1.23 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.9409, allocations: 83.28 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9409, allocations: 0 / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001923/0.9411, allocations: 8 kB / 1.23 GB, free: 8.68 MB / 0.9512 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.0001228/0.9412, allocations: 119.2 kB / 1.23 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.9414, allocations: 35.92 kB / 1.23 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9414, allocations: 0 / 1.23 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.9414, allocations: 12 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.9416, allocations: 11.88 kB / 1.23 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.9419, allocations: 141.1 kB / 1.23 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.9422, allocations: 0.6833 MB / 1.231 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.74e-05/0.9422, allocations: 4 kB / 1.231 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.9422, allocations: 11.44 kB / 1.231 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of SimCode: time 1.814e-06/0.9423, allocations: 0 / 1.231 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of Templates: time 0.003068/0.9453, allocations: 0.89 MB / 1.232 GB, free: 6.762 MB / 0.9512 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