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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001218/0.001218, 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.001217/0.001217, allocations: 194.2 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 68.55 kB / 0.9121 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.304, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002405/0.3065, allocations: 1.457 MB / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000407/0.3069, allocations: 187.4 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.3069, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.307, allocations: 7.922 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.3072, allocations: 19.86 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.3073, allocations: 65.11 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.208e-05/0.3074, allocations: 55.78 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.3075, allocations: 11.98 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.3076, allocations: 16 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.3077, allocations: 23.89 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3077, allocations: 4 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.666e-05/0.3077, allocations: 4 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.3077, allocations: 19.92 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.3078, allocations: 15.94 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.363e-05/0.3079, allocations: 56.08 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3079, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3079, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3079, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 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.0004708/0.3084, allocations: 347.5 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.3084, allocations: 8.031 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.3085, allocations: 4.938 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.3086, allocations: 176.2 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3086, allocations: 4.375 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.3086, allocations: 4.375 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.3088, allocations: 76.75 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.3088, allocations: 192 / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3088, allocations: 3.938 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3088, allocations: 3.938 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.244e-05/0.3089, allocations: 16 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.3092, allocations: 280.8 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.592e-05/0.3093, allocations: 38.56 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.3093, allocations: 12.86 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.3094, allocations: 4 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.3095, allocations: 67.47 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3095, allocations: 4 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001954/0.3097, allocations: 81.52 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.3098, allocations: 106.8 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.3099, allocations: 105.8 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3099, allocations: 25.7 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.3099, allocations: 88.14 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.31, allocations: 11.83 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.31, allocations: 25.7 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3101, allocations: 322.8 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.3102, allocations: 7.984 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.3102, allocations: 34.95 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.271e-05/0.3103, allocations: 36.78 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3103, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001004/0.3104, allocations: 57.59 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3104, allocations: 4 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3104, allocations: 4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3104, allocations: 4.031 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.3105, allocations: 4 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3105, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3106, allocations: 15.98 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3106, allocations: 0 / 1.072 GB, free: 6.285 MB / 0.8262 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.768e-05/0.3107, allocations: 115.3 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.3108, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.3108, allocations: 19.42 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3108, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3108, allocations: 4 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3108, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.3109, allocations: 169.6 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3109, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.311, allocations: 4 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.311, allocations: 3.984 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.311, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.311, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.311, allocations: 4 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.3111, allocations: 96.91 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.3112, allocations: 85.09 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.3112, allocations: 12 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3113, allocations: 9.859 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.3114, allocations: 7.984 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3114, allocations: 0 / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.3114, allocations: 91.22 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3114, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001962/0.3116, allocations: 8 kB / 1.073 GB, free: 5.57 MB / 0.8262 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.0001043/0.3118, allocations: 107.8 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.3119, allocations: 35.98 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3119, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.3119, allocations: 15.94 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.3121, allocations: 9.969 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.3124, allocations: 133.4 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3126, allocations: 0.681 MB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.3126, allocations: 7.984 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.3127, allocations: 11.44 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3127, allocations: 0 / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of Templates: time 0.002831/0.3155, allocations: 0.8854 MB / 1.074 GB, free: 3.668 MB / 0.8262 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