Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001182, allocations: 101.4 kB / 16.27 MB, free: 6.414 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.001265/0.001265, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437 MB / 0.711 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001504, allocations: 64.3 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2883, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002693/0.2911, allocations: 1.451 MB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004167/0.2915, allocations: 185 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.2916, allocations: 4 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.2916, allocations: 3.938 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.2919, allocations: 32.33 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.2921, allocations: 60.47 kB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.2922, allocations: 59.64 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.2923, allocations: 15.97 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.2923, allocations: 16 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.2924, allocations: 27.91 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.2925, allocations: 4 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.789e-05/0.2925, allocations: 4 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.2925, allocations: 11.94 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.2926, allocations: 27.84 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.2927, allocations: 56.08 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2927, allocations: 0 / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2927, allocations: 0 / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2927, allocations: 0 / 1.02 GB, free: 8.656 MB / 0.795 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.0005028/0.2932, allocations: 355.5 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2933, allocations: 8.922 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.2933, allocations: 4.938 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2934, allocations: 168.3 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.2935, allocations: 8.359 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2935, allocations: 4.375 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.2936, allocations: 72.75 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.2937, allocations: 192 / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2937, allocations: 7.938 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2937, allocations: 4 kB / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.494e-05/0.2937, allocations: 16 kB / 1.02 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.2941, allocations: 272.8 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.569e-05/0.2942, allocations: 42.5 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.2943, allocations: 20.86 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.2943, allocations: 0 / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.2944, allocations: 63.48 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.2945, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001989/0.2947, allocations: 69.67 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.2947, allocations: 110.8 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.2948, allocations: 105.8 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2948, allocations: 33.7 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.2949, allocations: 88.05 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.2949, allocations: 11.84 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.295, allocations: 21.7 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.2951, allocations: 314.8 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.2951, allocations: 12 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.131e-05/0.2952, allocations: 34.56 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.956e-05/0.2952, allocations: 33.25 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2952, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001039/0.2954, allocations: 65.58 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2954, allocations: 4 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2954, allocations: 3.984 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2954, allocations: 0 / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.2955, allocations: 8.188 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2955, allocations: 0 / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2956, allocations: 15.89 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2956, allocations: 0 / 1.022 GB, free: 6.457 MB / 0.795 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 8.77e-05/0.2957, allocations: 117.8 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.2957, allocations: 7.984 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.2958, allocations: 7.5 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2958, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2958, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.2958, allocations: 7.984 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.2959, allocations: 169.6 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2959, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.296, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.296, allocations: 8 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.296, allocations: 3.984 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.296, allocations: 0 / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.296, allocations: 3.938 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.2962, allocations: 85.06 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.2962, allocations: 89 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.2963, allocations: 4 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.2964, allocations: 11.98 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.2964, allocations: 11.92 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.2964, allocations: 4 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.236e-05/0.2965, allocations: 87.34 kB / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2965, allocations: 0 / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001975/0.2967, allocations: 12 kB / 1.022 GB, free: 5.738 MB / 0.795 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.0001113/0.2968, allocations: 103.2 kB / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.2969, allocations: 31.92 kB / 1.022 GB, free: 5.598 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.297, allocations: 4 kB / 1.022 GB, free: 5.594 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.297, allocations: 16 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.2972, allocations: 9.438 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.2975, allocations: 151.3 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2977, allocations: 0.6807 MB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.2978, allocations: 7.438 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of SimCode: time 2.9e-07/0.2978, allocations: 7.938 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of Templates: time 0.002229/0.3, allocations: 0.8261 MB / 1.024 GB, free: 3.852 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time