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.001674/0.001674, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001936/0.001936, allocations: 194.3 kB / 16.25 MB, free: 6.629 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.782/1.782, allocations: 222.9 MB / 239.9 MB, free: 4.473 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 3.02/3.02, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003365/0.003365, allocations: 63.91 kB / 0.8687 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8095/0.8129, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003195/0.8161, allocations: 1.527 MB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004571/0.8166, allocations: 183.4 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.8166, allocations: 0 / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.8167, allocations: 0 / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.8169, allocations: 19.91 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.8171, allocations: 50.19 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.8173, allocations: 59.78 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.8174, allocations: 11.98 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.8174, allocations: 27.91 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.8175, allocations: 23.91 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.8176, allocations: 8 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.8176, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.8176, allocations: 7.938 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.8177, allocations: 23.91 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.8178, allocations: 45.84 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8178, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8178, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.8178, allocations: 4 kB / 1.019 GB, free: 0.6953 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.0006254/0.8184, allocations: 359.3 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8185, allocations: 8.031 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.8186, allocations: 8.938 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.8187, allocations: 160.4 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.8187, allocations: 4.375 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.8188, allocations: 384 / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.819, allocations: 88.75 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.819, allocations: 192 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.819, allocations: 7.875 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.819, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.564e-05/0.8191, allocations: 19.98 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.8196, allocations: 288.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.8197, allocations: 34.58 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.8197, allocations: 20.94 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.8197, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.8199, allocations: 63.39 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.8199, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002296/0.8202, allocations: 73.61 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.8203, allocations: 102.8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.8204, allocations: 105.9 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.8204, allocations: 29.7 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.8205, allocations: 95.97 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.8205, allocations: 7.906 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.8206, allocations: 21.7 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.8208, allocations: 318.8 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.8208, allocations: 8 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.8209, allocations: 38.56 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.763e-05/0.8209, allocations: 28.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8209, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001071/0.821, allocations: 57.69 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8211, allocations: 8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8211, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8211, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.8212, allocations: 7.984 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8212, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.8213, allocations: 20.36 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.8213, allocations: 0 / 1.021 GB, free: 14.49 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.0001095/0.8214, allocations: 121.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.8215, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.8215, allocations: 3.5 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8215, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8215, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.8215, allocations: 4.125 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.8217, allocations: 173.6 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.8217, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.8217, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.8217, allocations: 3.984 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.8217, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8217, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.8217, allocations: 7.922 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.8219, allocations: 85.06 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.822, allocations: 96.94 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.822, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.8221, allocations: 7.984 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.8222, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.8222, allocations: 3.984 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.8223, allocations: 91.22 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.294e-06/0.8223, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001943/0.8225, allocations: 11.94 kB / 1.021 GB, free: 13.77 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.0001357/0.8226, allocations: 107.8 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.8227, allocations: 31.98 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8228, allocations: 0 / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.8228, allocations: 15.98 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.823, allocations: 12.81 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.8233, allocations: 128 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.8237, allocations: 0.6846 MB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.8237, allocations: 7.984 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.8238, allocations: 7.438 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.8238, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of Templates: time 0.003697/0.8275, allocations: 0.8669 MB / 1.023 GB, free: 11.89 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