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.001542/0.001542, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001377/0.001377, allocations: 197.2 kB / 16.14 MB, free: 6.719 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.578/1.578, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.868/2.868, allocations: 437 MB / 0.71 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002562, allocations: 63.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8153/0.8179, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00333/0.8213, allocations: 1.534 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004685/0.8218, allocations: 179.5 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.8219, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.8219, allocations: 7.922 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.8222, allocations: 15.92 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.8224, allocations: 51.92 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.8225, allocations: 51.8 kB / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.8226, allocations: 11.98 kB / 1.018 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.8227, allocations: 19.98 kB / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.8227, allocations: 19.91 kB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.8228, allocations: 4 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/0.8228, allocations: 4 kB / 1.018 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.8228, allocations: 11.92 kB / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.8229, allocations: 19.92 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.987e-05/0.823, allocations: 41.84 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.823, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.11e-07/0.823, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.823, allocations: 4 kB / 1.019 GB, free: 0.7695 MB / 0.7637 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.0005654/0.8236, allocations: 369 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.8236, allocations: 8.031 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.8237, allocations: 4.938 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.8238, allocations: 164.4 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.8239, allocations: 4.375 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.8239, allocations: 4.375 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.824, allocations: 76.81 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8241, allocations: 4.172 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.8241, allocations: 3.938 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.8241, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.076e-05/0.8242, allocations: 19.94 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.8246, allocations: 284.7 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.8247, allocations: 42.56 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.8247, allocations: 12.86 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.8248, allocations: 7.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.8249, allocations: 63.42 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.825, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002309/0.8252, allocations: 73.67 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.8253, allocations: 106.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.09e-05/0.8254, allocations: 105.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.8254, allocations: 25.7 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.8255, allocations: 95.92 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.8255, allocations: 7.906 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.8255, allocations: 25.7 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8257, allocations: 314.8 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.8257, allocations: 11.98 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.753e-05/0.8258, allocations: 38.58 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.199e-05/0.8259, allocations: 28.84 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8259, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001188/0.826, allocations: 53.69 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.826, allocations: 8 kB / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8261, allocations: 0 / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.8261, allocations: 3.938 kB / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.8261, allocations: 4 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8262, allocations: 32 / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.8263, allocations: 19.89 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.8263, allocations: 0 / 1.02 GB, free: 14.55 MB / 0.7794 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.0001143/0.8265, allocations: 117.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.8265, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.8265, allocations: 15.48 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8265, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8265, allocations: 448 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.8265, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.8267, allocations: 173.6 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.8267, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.8268, allocations: 7.984 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.8268, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.8268, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.8268, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8268, allocations: 7.938 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.827, allocations: 89.19 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.827, allocations: 92.98 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.8271, allocations: 7.984 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.8272, allocations: 7.984 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.8272, allocations: 11.98 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.8273, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.253e-05/0.8273, allocations: 83.28 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8273, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002024/0.8275, allocations: 12 kB / 1.021 GB, free: 13.84 MB / 0.7794 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.0001571/0.8277, allocations: 107.8 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.8278, allocations: 35.92 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8279, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.82e-05/0.8279, allocations: 12 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.8281, allocations: 17.91 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.8285, allocations: 127.3 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.8288, allocations: 0.6809 MB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.114e-05/0.8289, allocations: 8 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.8289, allocations: 11.44 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.8289, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of Templates: time 0.003428/0.8324, allocations: 0.831 MB / 1.023 GB, free: 11.99 MB / 0.7794 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=400 -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/jenkins/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