Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001622/0.001622, allocations: 102.2 kB / 16.27 MB, free: 6 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.001603/0.001603, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.344/1.344, 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 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437 MB / 0.711 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 64.22 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.292, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003299/0.2953, allocations: 1.468 MB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005354/0.2959, allocations: 185.5 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.296, allocations: 0 / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.296, allocations: 0 / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.2963, allocations: 23.84 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.2966, allocations: 56.48 kB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.2967, allocations: 63.69 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2968, allocations: 8 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.2969, allocations: 23.97 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.297, allocations: 23.92 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.297, allocations: 4 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.297, allocations: 4 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.2971, allocations: 15.92 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.2971, allocations: 19.91 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.2972, allocations: 56.09 kB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2973, allocations: 0 / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2973, allocations: 0 / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.2973, allocations: 4 kB / 1.02 GB, free: 8.695 MB / 0.795 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.0005467/0.2978, allocations: 349.7 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.2979, allocations: 12.92 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.2979, allocations: 0.9375 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.2981, allocations: 176.3 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2981, allocations: 384 / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.2981, allocations: 4.375 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.2983, allocations: 76.81 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2983, allocations: 192 / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.2983, allocations: 7.938 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2983, allocations: 0 / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.245e-05/0.2984, allocations: 15.98 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.2988, allocations: 280.7 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.2989, allocations: 38.56 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.299, allocations: 20.94 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.299, allocations: 0 / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.2992, allocations: 71.31 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2992, allocations: 0 / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002101/0.2994, allocations: 65.69 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.2995, allocations: 110.8 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.2996, allocations: 113.7 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2996, allocations: 29.7 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.2997, allocations: 88.03 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2997, allocations: 11.84 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.2997, allocations: 21.7 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2999, allocations: 318.8 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.2999, allocations: 12 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.057e-05/0.3, allocations: 38.5 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.3, allocations: 29.23 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3, allocations: 0 / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001033/0.3002, allocations: 61.69 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3002, allocations: 4 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3002, allocations: 0 / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3002, allocations: 0 / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.3003, allocations: 11.98 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3003, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3004, allocations: 11.94 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3004, allocations: 3.984 kB / 1.022 GB, free: 6.492 MB / 0.795 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.0001006/0.3005, allocations: 123.2 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.3006, allocations: 4 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.3006, allocations: 3.5 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3006, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3006, allocations: 4 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3006, allocations: 0 / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.3008, allocations: 173.6 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3008, allocations: 4 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.3008, allocations: 4 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.3008, allocations: 0 / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3008, allocations: 0 / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3008, allocations: 0 / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3008, allocations: 0 / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.301, allocations: 93.05 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.3011, allocations: 92.94 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.3011, allocations: 8 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3012, allocations: 11.92 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.3013, allocations: 0 / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3013, allocations: 8.062 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.3013, allocations: 87.27 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3013, allocations: 0 / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002055/0.3015, allocations: 12 kB / 1.022 GB, free: 5.777 MB / 0.795 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.0001397/0.3017, allocations: 103.2 kB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.3018, allocations: 31.98 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3018, allocations: 7.938 kB / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.507e-05/0.3019, allocations: 19.92 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.3021, allocations: 10.58 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.3024, allocations: 143.3 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3027, allocations: 0.6846 MB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.3028, allocations: 7.438 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3028, allocations: 0 / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of Templates: time 0.002243/0.305, allocations: 0.8234 MB / 1.024 GB, free: 3.898 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches