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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001599/0.001599, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001623/0.001623, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.545/2.545, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001502, allocations: 64.64 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3331, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002826/0.336, allocations: 1.452 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000447/0.3364, allocations: 183.4 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.3365, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.3366, allocations: 7.922 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.3368, allocations: 23.86 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.3371, allocations: 58.28 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.927e-05/0.3372, allocations: 51.8 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3373, allocations: 15.97 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.3374, allocations: 23.98 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.3374, allocations: 15.92 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.3375, allocations: 4 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.3375, allocations: 8 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.3375, allocations: 11.92 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.3376, allocations: 31.8 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.3377, allocations: 48.08 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3377, allocations: 3.984 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3377, allocations: 0 / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.3377, allocations: 0 / 1.066 GB, free: 13.06 MB / 0.8419 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.0005428/0.3383, allocations: 357.4 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3383, allocations: 8.625 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3384, allocations: 4.938 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3385, allocations: 172.2 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3385, allocations: 8.375 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.3386, allocations: 384 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3387, allocations: 76.8 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3387, allocations: 8.125 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3388, allocations: 3.938 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3388, allocations: 0 / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.171e-05/0.3388, allocations: 23.98 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.3392, allocations: 264.9 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.3393, allocations: 42.5 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.3394, allocations: 16.86 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.3394, allocations: 4 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.3396, allocations: 59.48 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.3396, allocations: 4 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002231/0.3398, allocations: 77.58 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.34, allocations: 110.7 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.3401, allocations: 109.8 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3401, allocations: 25.7 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.3402, allocations: 88.14 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.3402, allocations: 7.844 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.3403, allocations: 25.7 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3404, allocations: 314.8 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.3404, allocations: 11.98 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.3405, allocations: 38.58 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.3406, allocations: 28.84 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3406, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001088/0.3407, allocations: 61.53 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3408, allocations: 8 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3408, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3408, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.3409, allocations: 4 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3409, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.341, allocations: 14.17 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.341, allocations: 11.97 kB / 1.068 GB, free: 10.85 MB / 0.8419 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.0001151/0.3411, allocations: 117.8 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.3412, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.3412, allocations: 15.48 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3412, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3412, allocations: 448 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3412, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.3414, allocations: 169.6 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3414, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.3414, allocations: 11.98 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3414, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.3414, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3414, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3415, allocations: 4 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3416, allocations: 97.08 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.3417, allocations: 85.14 kB / 1.068 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.3417, allocations: 7.922 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3418, allocations: 12 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3419, allocations: 7.984 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.3419, allocations: 0 / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.3419, allocations: 87.28 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3419, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002018/0.3422, allocations: 8 kB / 1.069 GB, free: 10.14 MB / 0.8419 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.0001435/0.3423, allocations: 103.8 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.3424, allocations: 35.92 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3425, allocations: 4 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.414e-05/0.3425, allocations: 12 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.3427, allocations: 11.94 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.3431, allocations: 147.3 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.3434, allocations: 0.6868 MB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.3434, allocations: 11.44 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3434, allocations: 4 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of Templates: time 0.002727/0.3461, allocations: 0.8314 MB / 1.07 GB, free: 8.242 MB / 0.8419 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/jenkins1/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