Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005616/0.005616, allocations: 102.7 kB / 15.73 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.001717/0.001718, allocations: 190.4 kB / 16.67 MB, free: 6.379 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.92/2.92, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 64.12 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3299, allocations: 157.4 MB / 1.208 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002376/0.3324, allocations: 1.456 MB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004265/0.3328, allocations: 183.4 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.3329, allocations: 0 / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.3329, allocations: 3.938 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.3332, allocations: 27.86 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.3334, allocations: 56.47 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.3335, allocations: 59.78 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.3336, allocations: 8 kB / 1.209 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.3337, allocations: 19.98 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.958e-05/0.3338, allocations: 19.91 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.3338, allocations: 8 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.3338, allocations: 4 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.3338, allocations: 19.86 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.3339, allocations: 19.92 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.4e-05/0.334, allocations: 55.8 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.334, allocations: 0 / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.334, allocations: 0 / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.334, allocations: 4 kB / 1.21 GB, free: 7.637 MB / 0.9669 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.0005104/0.3345, allocations: 343.5 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3346, allocations: 12.61 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.3346, allocations: 8.844 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.3348, allocations: 176.3 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3348, allocations: 4.312 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3348, allocations: 384 / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3349, allocations: 76.81 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.335, allocations: 192 / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.335, allocations: 7.938 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.335, allocations: 0 / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.399e-05/0.3351, allocations: 19.98 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.3355, allocations: 268.8 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.927e-05/0.3356, allocations: 38.56 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.3356, allocations: 20.86 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.3356, allocations: 8.062 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.3358, allocations: 67.33 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3358, allocations: 3.938 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001965/0.336, allocations: 69.59 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.3361, allocations: 102.8 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.3362, allocations: 105.8 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3362, allocations: 33.7 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.3362, allocations: 88.12 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3363, allocations: 15.73 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.3363, allocations: 21.72 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3364, allocations: 322.8 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.841e-05/0.3365, allocations: 8 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.071e-05/0.3365, allocations: 34.56 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.042e-05/0.3366, allocations: 32.83 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3366, allocations: 0 / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.24e-05/0.3367, allocations: 54.12 kB / 1.211 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3367, allocations: 8 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3367, allocations: 0 / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3367, allocations: 0 / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.3368, allocations: 8 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3368, allocations: 7.984 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.3369, allocations: 11.94 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.337, allocations: 4 kB / 1.212 GB, free: 5.434 MB / 0.9669 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.678e-05/0.3371, allocations: 125.7 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.3371, allocations: 4 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.3371, allocations: 3.5 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3371, allocations: 0 / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3371, allocations: 0 / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3371, allocations: 0 / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.3373, allocations: 177.5 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3373, allocations: 0 / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.3373, allocations: 4 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3373, allocations: 4 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3373, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3373, allocations: 4 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3373, allocations: 3.984 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.3375, allocations: 92.98 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.3375, allocations: 89.09 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3376, allocations: 3.938 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3377, allocations: 11.98 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.3377, allocations: 4 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3377, allocations: 0 / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.451e-05/0.3378, allocations: 91.27 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3378, allocations: 0 / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001926/0.338, allocations: 8 kB / 1.212 GB, free: 4.723 MB / 0.9669 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.0001014/0.3381, allocations: 103.2 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.3382, allocations: 31.98 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3382, allocations: 4 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.3383, allocations: 15.94 kB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.3384, allocations: 12.25 kB / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.3387, allocations: 125.2 kB / 1.212 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.339, allocations: 0.6807 MB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.908e-05/0.339, allocations: 7.984 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.3391, allocations: 15.42 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.3391, allocations: 4 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of Templates: time 0.002994/0.3421, allocations: 0.9086 MB / 1.214 GB, free: 2.797 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches