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.00121/0.001211, allocations: 101.7 kB / 16.4 MB, free: 6.453 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.001178/0.001178, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.363/2.363, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.83 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6218/0.6229, allocations: 157.4 MB / 1.208 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002366/0.6253, allocations: 1.455 MB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003842/0.6258, allocations: 191.4 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.6258, allocations: 0 / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.6258, allocations: 3.938 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.626, allocations: 27.84 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.6262, allocations: 59.3 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.855e-05/0.6263, allocations: 55.91 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.6264, allocations: 11.98 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.6265, allocations: 27.86 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.6265, allocations: 19.91 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.6266, allocations: 4 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.6266, allocations: 4 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.6266, allocations: 19.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.6266, allocations: 23.92 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.484e-05/0.6267, allocations: 47.66 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.6267, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6268, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.6268, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 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.0004606/0.6272, allocations: 353.4 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.6273, allocations: 8.031 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.6273, allocations: 4.938 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.6274, allocations: 176.2 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.6274, allocations: 8.375 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.6275, allocations: 384 / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.6276, allocations: 80.75 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.6276, allocations: 192 / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.6276, allocations: 3.938 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.6276, allocations: 0 / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.666e-05/0.6277, allocations: 16 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.628, allocations: 280.8 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.07e-05/0.6281, allocations: 42.56 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.6281, allocations: 12.86 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.6282, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.6283, allocations: 63.48 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6283, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001797/0.6285, allocations: 85.66 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.6285, allocations: 102.8 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.6286, allocations: 105.8 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.6287, allocations: 25.7 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.6287, allocations: 92.08 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.6287, allocations: 3.906 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.6288, allocations: 21.7 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.6289, allocations: 322.8 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.6289, allocations: 11.98 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.6289, allocations: 34.62 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.629, allocations: 28.78 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.629, allocations: 0 / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.636e-05/0.6291, allocations: 65.58 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.6291, allocations: 4 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6291, allocations: 8.031 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.6291, allocations: 0 / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.6292, allocations: 4 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.6292, allocations: 448 / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.6293, allocations: 11.98 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.6294, allocations: 4 kB / 1.212 GB, free: 9.68 MB / 0.9356 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 7.602e-05/0.6294, allocations: 117.8 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.6294, allocations: 3.938 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.6295, allocations: 15.48 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.6295, allocations: 4 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6295, allocations: 0 / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.6295, allocations: 0 / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.6296, allocations: 169.6 kB / 1.213 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6296, allocations: 3.938 kB / 1.213 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.135e-05/0.6296, allocations: 4 kB / 1.213 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6297, allocations: 3.984 kB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.6297, allocations: 0 / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.6297, allocations: 0 / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6297, allocations: 0 / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.6298, allocations: 96.97 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.6299, allocations: 89.03 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.6299, allocations: 0 / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.63, allocations: 7.984 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.63, allocations: 11.98 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.6301, allocations: 3.938 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.6301, allocations: 87.22 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6301, allocations: 8 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000186/0.6303, allocations: 8 kB / 1.213 GB, free: 8.961 MB / 0.9356 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 9.475e-05/0.6304, allocations: 103.2 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.6305, allocations: 31.98 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.6305, allocations: 0 / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.6306, allocations: 15.94 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.6307, allocations: 14.28 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.631, allocations: 159.1 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.6312, allocations: 0.6807 MB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.6313, allocations: 11.44 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.6313, allocations: 0 / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of Templates: time 0.001911/0.6332, allocations: 0.8185 MB / 1.215 GB, free: 7.07 MB / 0.9356 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/jenkins1/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