Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_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_latest_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.001285/0.001285, allocations: 108 kB / 15.61 MB, free: 152 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.001289/0.001289, allocations: 195 kB / 16.53 MB, free: 6.664 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.399/1.399, 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.887/2.887, allocations: 472.7 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.75 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3329, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002692/0.3357, allocations: 1.456 MB / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004051/0.3361, allocations: 191.4 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.3362, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.3362, allocations: 3.938 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.3364, allocations: 19.86 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.3366, allocations: 51.91 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.796e-05/0.3367, allocations: 67.77 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.829e-05/0.3368, allocations: 12 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.606e-05/0.3369, allocations: 15.98 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.337, allocations: 19.92 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.337, allocations: 7.984 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.337, allocations: 4 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.337, allocations: 15.92 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.3371, allocations: 27.86 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.224e-05/0.3372, allocations: 48.08 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3372, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3372, allocations: 4 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3372, allocations: 0 / 1.07 GB, free: 8.488 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.0004937/0.3377, allocations: 343.5 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3377, allocations: 12.03 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3378, allocations: 0.9375 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3379, allocations: 176.2 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.338, allocations: 4.375 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.338, allocations: 4.375 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3381, allocations: 76.75 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3381, allocations: 4.188 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.3382, allocations: 3.938 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3382, allocations: 0 / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/0.3382, allocations: 19.98 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.3386, allocations: 264.9 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.3387, allocations: 50.5 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.3388, allocations: 12.86 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-06/0.3388, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.3389, allocations: 63.48 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.916e-06/0.339, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.3392, allocations: 85.52 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.3392, allocations: 110.8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/0.3393, allocations: 109.8 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3394, allocations: 25.7 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.3394, allocations: 84.14 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.3394, allocations: 15.78 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.3395, allocations: 21.7 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3396, allocations: 322.8 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.3397, allocations: 8 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.3397, allocations: 38.56 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/0.3398, allocations: 24.86 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3398, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.763e-05/0.3399, allocations: 65.53 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3399, allocations: 4 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3399, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3399, allocations: 4 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.34, allocations: 4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.34, allocations: 8.016 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3401, allocations: 9.391 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3402, allocations: 4 kB / 1.072 GB, free: 6.289 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.928e-05/0.3403, allocations: 119.3 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.3403, allocations: 3.984 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.3403, allocations: 7.688 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3403, allocations: 7.984 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3403, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3403, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.3405, allocations: 177.6 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3405, allocations: 3.984 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.3405, allocations: 4.438 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3405, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3405, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.3406, allocations: 4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3406, allocations: 3.938 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.3407, allocations: 96.95 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.3408, allocations: 85.05 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3408, allocations: 7.984 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3409, allocations: 8 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.341, allocations: 7.984 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.341, allocations: 0 / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.341, allocations: 87.27 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3411, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001946/0.3413, allocations: 12 kB / 1.073 GB, free: 5.566 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.0001375/0.3414, allocations: 103.8 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.3415, allocations: 31.92 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3415, allocations: 4 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.3416, allocations: 12 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.3418, allocations: 17.91 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.3421, allocations: 129.4 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.3424, allocations: 0.6846 MB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.3425, allocations: 4 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.3425, allocations: 11.38 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3425, allocations: 4 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of Templates: time 0.003446/0.346, allocations: 0.8759 MB / 1.074 GB, free: 3.676 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches