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.001228/0.001228, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 187.8 kB / 16.92 MB, free: 6.773 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.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.5/2.5, allocations: 390.9 MB / 0.667 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003508, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7425/0.7429, allocations: 142.4 MB / 0.9557 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001531/0.7445, allocations: 1.178 MB / 0.9569 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003753/0.7449, allocations: 180.9 kB / 0.957 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.7449, allocations: 0 / 0.957 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.745, allocations: 7.922 kB / 0.957 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.7452, allocations: 21.17 kB / 0.9571 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.7454, allocations: 56.55 kB / 0.9571 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.688e-05/0.7455, allocations: 48.67 kB / 0.9572 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.7456, allocations: 11.75 kB / 0.9572 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.7457, allocations: 23.14 kB / 0.9572 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.7457, allocations: 18.02 kB / 0.9572 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.7458, allocations: 2.406 kB / 0.9572 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.7458, allocations: 2.5 kB / 0.9572 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.7458, allocations: 18.25 kB / 0.9572 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.7459, allocations: 40.42 kB / 0.9573 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.011e-05/0.7459, allocations: 34.41 kB / 0.9573 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.746, allocations: 1.469 kB / 0.9573 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.745e-06/0.746, allocations: 3.938 kB / 0.9573 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.746, allocations: 0 / 0.9573 GB, free: 6.594 MB / 0.7169 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.0004328/0.7464, allocations: 337.6 kB / 0.9576 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.7465, allocations: 9.938 kB / 0.9576 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.7465, allocations: 11.22 kB / 0.9577 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.375e-05/0.7466, allocations: 171.4 kB / 0.9578 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.7466, allocations: 1.844 kB / 0.9578 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.7467, allocations: 2.281 kB / 0.9578 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.7468, allocations: 74.62 kB / 0.9579 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.7468, allocations: 192 / 0.9579 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.7468, allocations: 5.125 kB / 0.9579 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.7468, allocations: 5.375 kB / 0.9579 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.519e-05/0.7469, allocations: 20.61 kB / 0.9579 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.7472, allocations: 277 kB / 0.9582 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.827e-05/0.7473, allocations: 39.02 kB / 0.9582 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.7474, allocations: 20.55 kB / 0.9582 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.7474, allocations: 7.938 kB / 0.9583 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.7476, allocations: 66.8 kB / 0.9583 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.7476, allocations: 0 / 0.9583 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001983/0.7478, allocations: 71.55 kB / 0.9584 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.7478, allocations: 102.8 kB / 0.9585 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.7479, allocations: 114.8 kB / 0.9586 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.7479, allocations: 29.7 kB / 0.9586 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.7479, allocations: 85.64 kB / 0.9587 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.748, allocations: 9.438 kB / 0.9587 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.748, allocations: 15.16 kB / 0.9587 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.7481, allocations: 320.3 kB / 0.959 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.7481, allocations: 9.875 kB / 0.959 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.7481, allocations: 35.91 kB / 0.9591 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.772e-05/0.7482, allocations: 24.36 kB / 0.9591 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7482, allocations: 0 / 0.9591 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.022e-05/0.7483, allocations: 61.44 kB / 0.9592 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.7483, allocations: 12.66 kB / 0.9592 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7483, allocations: 0 / 0.9592 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.7483, allocations: 0 / 0.9592 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.7484, allocations: 10.27 kB / 0.9592 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.7484, allocations: 0 / 0.9592 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.7485, allocations: 7.594 kB / 0.9592 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.7485, allocations: 5.297 kB / 0.9592 GB, free: 4.617 MB / 0.7169 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 6.853e-05/0.7486, allocations: 126.3 kB / 0.9593 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.7486, allocations: 1.719 kB / 0.9593 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.7487, allocations: 9.156 kB / 0.9593 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.7487, allocations: 0 / 0.9593 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7487, allocations: 0 / 0.9593 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7487, allocations: 1.219 kB / 0.9593 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.123e-05/0.7488, allocations: 177.1 kB / 0.9595 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7488, allocations: 1.531 kB / 0.9595 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.7488, allocations: 2.938 kB / 0.9595 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7488, allocations: 0 / 0.9595 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.7488, allocations: 4 kB / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7488, allocations: 1.469 kB / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.7488, allocations: 0 / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.749, allocations: 96.27 kB / 0.9596 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.749, allocations: 86.84 kB / 0.9597 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.749, allocations: 1.875 kB / 0.9597 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.7492, allocations: 17.08 kB / 0.9597 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.7492, allocations: 9.781 kB / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.7492, allocations: 5.75 kB / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.7492, allocations: 84.64 kB / 0.9598 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7493, allocations: 0 / 0.9598 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001875/0.7494, allocations: 14.75 kB / 0.9598 GB, free: 3.965 MB / 0.7169 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.0001106/0.7496, allocations: 98.89 kB / 0.9599 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.7497, allocations: 35.05 kB / 0.9599 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7497, allocations: 0 / 0.9599 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.7497, allocations: 24.22 kB / 0.96 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.7499, allocations: 14.62 kB / 0.96 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.7502, allocations: 159.5 kB / 0.9601 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.7503, allocations: 0.6798 MB / 0.9608 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.7504, allocations: 14.19 kB / 0.9608 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.7504, allocations: 0 / 0.9608 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of Templates: time 0.002371/0.7527, allocations: 0.8151 MB / 0.9616 GB, free: 2.555 MB / 0.7169 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 -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