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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001314/0.001314, allocations: 108 kB / 15.6 MB, free: 132 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.001501/0.001501, allocations: 193 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.2 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 63.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6632, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002879/0.6661, allocations: 1.456 MB / 0.951 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004274/0.6666, allocations: 196.7 kB / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.6666, allocations: 0 / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.6667, allocations: 0 / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.6669, allocations: 29.34 kB / 0.9512 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.6671, allocations: 55.56 kB / 0.9513 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.6672, allocations: 56.8 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.6674, allocations: 8.25 kB / 0.9513 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.353e-05/0.6674, allocations: 24.08 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.6675, allocations: 25.36 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.6676, allocations: 5.25 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.925e-05/0.6676, allocations: 4.094 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.6676, allocations: 10.88 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.6677, allocations: 22.7 kB / 0.9514 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.6678, allocations: 50.27 kB / 0.9515 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.6678, allocations: 0 / 0.9515 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6678, allocations: 0.9375 kB / 0.9515 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.6678, allocations: 3.938 kB / 0.9515 GB, free: 7.602 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.0005467/0.6684, allocations: 352.4 kB / 0.9518 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.6684, allocations: 9.469 kB / 0.9518 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.6685, allocations: 7.344 kB / 0.9518 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.6686, allocations: 175 kB / 0.952 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.6686, allocations: 6.906 kB / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.6686, allocations: 5.609 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.6688, allocations: 70.72 kB / 0.9521 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6688, allocations: 1.469 kB / 0.9521 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.6688, allocations: 3.938 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.6689, allocations: 1 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.6689, allocations: 25.36 kB / 0.9521 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.6693, allocations: 280.5 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.6694, allocations: 35.7 kB / 0.9524 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.6694, allocations: 19.78 kB / 0.9524 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.6694, allocations: 0 / 0.9524 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.6696, allocations: 66.52 kB / 0.9525 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.6696, allocations: 1.688 kB / 0.9525 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002182/0.6698, allocations: 73.77 kB / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.6699, allocations: 104.7 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.67, allocations: 100.7 kB / 0.9528 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.67, allocations: 27.2 kB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.67, allocations: 89.41 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.67, allocations: 14.42 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.6701, allocations: 26.64 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.6701, allocations: 316 kB / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.6702, allocations: 13.41 kB / 0.9532 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.653e-05/0.6702, allocations: 36.38 kB / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.6703, allocations: 25.3 kB / 0.9533 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6703, allocations: 0 / 0.9533 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.425e-05/0.6704, allocations: 56.28 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.6704, allocations: 8.938 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6704, allocations: 1.219 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.6704, allocations: 0 / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.6705, allocations: 17.7 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.6705, allocations: 4 kB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.6707, allocations: 12.48 kB / 0.9534 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.6707, allocations: 4 kB / 0.9534 GB, free: 5.605 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.578e-05/0.6707, allocations: 118.3 kB / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.6708, allocations: 10.09 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.6708, allocations: 7.5 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6708, allocations: 2 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6708, allocations: 0 / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6708, allocations: 0 / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.6709, allocations: 174.5 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6709, allocations: 0 / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.671, allocations: 2.625 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.671, allocations: 1.25 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.671, allocations: 0 / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.671, allocations: 1.188 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.671, allocations: 7.984 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.6711, allocations: 95.45 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.6712, allocations: 91.47 kB / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.6712, allocations: 1.406 kB / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.6713, allocations: 12.45 kB / 0.9539 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.6713, allocations: 2.594 kB / 0.9539 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.6714, allocations: 5.266 kB / 0.9539 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.6714, allocations: 89.22 kB / 0.954 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6714, allocations: 0 / 0.954 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001932/0.6716, allocations: 9.938 kB / 0.954 GB, free: 4.957 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.0001132/0.6717, allocations: 100.2 kB / 0.9541 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.6719, allocations: 37.67 kB / 0.9541 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6719, allocations: 0 / 0.9541 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.6719, allocations: 17.7 kB / 0.9541 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.6721, allocations: 11.22 kB / 0.9541 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.6724, allocations: 118.3 kB / 0.9543 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.6725, allocations: 0.6835 MB / 0.9549 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.511e-05/0.6726, allocations: 8.703 kB / 0.9549 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.6726, allocations: 10.47 kB / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/0.6726, allocations: 0 / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of Templates: time 0.002917/0.6755, allocations: 0.8827 MB / 0.9558 GB, free: 3.578 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/jenkins/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