Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001509/0.001509, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.001798/0.001798, allocations: 192.6 kB / 17.3 MB, free: 5.613 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.14 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003154/0.2991, allocations: 1.457 MB / 0.9526 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004641/0.2996, allocations: 187.4 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.2997, allocations: 0 / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.2997, allocations: 7.922 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.3, allocations: 19.88 kB / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.3003, allocations: 67.66 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.3004, allocations: 63.77 kB / 0.9529 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3005, allocations: 8 kB / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.3006, allocations: 23.98 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.69e-05/0.3007, allocations: 19.91 kB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.3007, allocations: 8 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.3007, allocations: 4 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.3008, allocations: 11.92 kB / 0.953 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.3008, allocations: 27.92 kB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.301, allocations: 47.8 kB / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.301, allocations: 0 / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.064e-06/0.301, allocations: 0 / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.301, allocations: 4 kB / 0.953 GB, free: 6.105 MB / 0.7325 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.0005598/0.3016, allocations: 343.5 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3016, allocations: 8.031 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.3017, allocations: 8.844 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3018, allocations: 172.3 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3018, allocations: 4.375 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.3019, allocations: 12.3 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.302, allocations: 72.81 kB / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.302, allocations: 192 / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3021, allocations: 3.938 kB / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3021, allocations: 0 / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.895e-05/0.3021, allocations: 19.98 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.3025, allocations: 280.8 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/0.3026, allocations: 38.56 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.3027, allocations: 16.86 kB / 0.954 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.3027, allocations: 3.938 kB / 0.954 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.3029, allocations: 59.48 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.3029, allocations: 4 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002151/0.3031, allocations: 73.61 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.3032, allocations: 106.8 kB / 0.9542 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.567e-05/0.3033, allocations: 109.8 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3034, allocations: 25.7 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.3034, allocations: 88.05 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.3034, allocations: 19.81 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.3035, allocations: 21.72 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3036, allocations: 322.8 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.3036, allocations: 8 kB / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.3037, allocations: 34.56 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.3038, allocations: 28.8 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3038, allocations: 3.938 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001035/0.3039, allocations: 57.69 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3039, allocations: 8 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3039, allocations: 0 / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3039, allocations: 32 / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.304, allocations: 8 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.304, allocations: 3.984 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3041, allocations: 17.61 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.3041, allocations: 0 / 0.9549 GB, free: 3.902 MB / 0.7325 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.0001086/0.3043, allocations: 127.7 kB / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.3043, allocations: 4 kB / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.3043, allocations: 7.5 kB / 0.9551 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3043, allocations: 0 / 0.9551 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3043, allocations: 4 kB / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3043, allocations: 0 / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.3045, allocations: 169.6 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3045, allocations: 448 / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.3045, allocations: 4 kB / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3045, allocations: 0 / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3045, allocations: 12 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3045, allocations: 3.938 kB / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3045, allocations: 0 / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.3047, allocations: 97.22 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.3048, allocations: 89 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.3048, allocations: 0 / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3049, allocations: 11.98 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.305, allocations: 7.938 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.305, allocations: 0 / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.305, allocations: 87.27 kB / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.305, allocations: 0 / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001978/0.3052, allocations: 12 kB / 0.9555 GB, free: 3.18 MB / 0.7325 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.0001307/0.3054, allocations: 107.2 kB / 0.9556 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.3055, allocations: 27.98 kB / 0.9557 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3055, allocations: 0 / 0.9557 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.3056, allocations: 15.94 kB / 0.9557 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.3057, allocations: 7.938 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.3061, allocations: 117.6 kB / 0.9558 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.3063, allocations: 0.6883 MB / 0.9565 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.3064, allocations: 4 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.3064, allocations: 15.44 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.3064, allocations: 0 / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of Templates: time 0.003513/0.3099, allocations: 0.8726 MB / 0.9573 GB, free: 1.309 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches