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.001415/0.001415, allocations: 113.8 kB / 16.42 MB, free: 6.492 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.001362/0.001362, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.438/2.438, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 68.11 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.7298, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00268/0.7325, allocations: 1.465 MB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004532/0.733, allocations: 183.4 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.7331, allocations: 0 / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.7331, allocations: 7.938 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.7334, allocations: 19.92 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.7336, allocations: 60.97 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.7337, allocations: 59.83 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.7338, allocations: 4 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.7338, allocations: 27.92 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.592e-05/0.7339, allocations: 23.86 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.7339, allocations: 4 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.734, allocations: 8 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.734, allocations: 11.97 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.7341, allocations: 27.86 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.7342, allocations: 51.45 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.7342, allocations: 4 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7342, allocations: 0 / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.7342, allocations: 0 / 1.169 GB, free: 1.918 MB / 0.8887 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.0005625/0.7348, allocations: 345.4 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.7348, allocations: 12.91 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.7349, allocations: 12.94 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.735, allocations: 172.3 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.735, allocations: 384 / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.735, allocations: 384 / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.7352, allocations: 76.81 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.7352, allocations: 4.125 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.7352, allocations: 3.938 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.7352, allocations: 0 / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.328e-05/0.7353, allocations: 23.98 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.7356, allocations: 272.8 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.112e-05/0.7357, allocations: 42.5 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.7358, allocations: 16.95 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.7358, allocations: 3.984 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.7359, allocations: 63.39 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.736, allocations: 0 / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.7362, allocations: 69.59 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.7362, allocations: 106.8 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.7363, allocations: 109.8 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.7363, allocations: 25.7 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.7364, allocations: 84.14 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.7364, allocations: 11.89 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.7365, allocations: 25.72 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.7366, allocations: 314.8 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.7366, allocations: 8 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.943e-05/0.7367, allocations: 38.5 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.7367, allocations: 28.8 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7367, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001088/0.7368, allocations: 69.97 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7369, allocations: 12.03 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.7369, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7369, allocations: 3.938 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.646e-05/0.737, allocations: 4 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.737, allocations: 3.984 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.7371, allocations: 8 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.7371, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 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.155e-05/0.7372, allocations: 121.8 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.7372, allocations: 8 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.7372, allocations: 3.5 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.7373, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7373, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.7373, allocations: 93 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.7374, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.7375, allocations: 7.984 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.7375, allocations: 7.938 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000162/0.7377, allocations: 153 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001715/0.7379, allocations: 234.8 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.921e-05/0.7379, allocations: 15.98 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.738, allocations: 83.28 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of Backend: time 3.71e-07/0.738, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.7384, allocations: 103.5 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004714/0.7388, allocations: 0.5648 MB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.00298/0.7418, allocations: 0.9404 MB / 1.173 GB, free: 13.34 MB / 0.9044 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