Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0043/0.004304, allocations: 95.83 kB / 15.73 MB, free: 6.484 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.001261/0.001261, allocations: 191.3 kB / 16.67 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.281, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001693/0.2827, allocations: 0.6646 MB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.2842, allocations: 1.156 MB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.2842, allocations: 0 / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.2843, allocations: 7.938 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.817e-05/0.2843, allocations: 7.922 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.2848, allocations: 143.5 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.285, allocations: 151.7 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.556e-05/0.2851, allocations: 12 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.104e-05/0.2852, allocations: 51.91 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2853, allocations: 59.78 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.2853, allocations: 12 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.579e-05/0.2854, allocations: 27.98 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.2854, allocations: 19.92 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.798e-05/0.2855, allocations: 51.89 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.2857, allocations: 131.6 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2857, allocations: 0 / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2857, allocations: 4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.2857, allocations: 0 / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005941/0.2863, allocations: 416.9 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2864, allocations: 12.03 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.2864, allocations: 38.73 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.2865, allocations: 12.89 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.2869, allocations: 216.3 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.2869, allocations: 12.36 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.2869, allocations: 16.38 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.2871, allocations: 85.94 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.2871, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2871, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2872, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.2873, allocations: 43.91 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.2878, allocations: 364.6 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.288, allocations: 90.55 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.2881, allocations: 36.84 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.2881, allocations: 4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.2884, allocations: 135.3 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.2884, allocations: 4 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0003797/0.2887, allocations: 201.5 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.2888, allocations: 55.41 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.2889, allocations: 117.9 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.2889, allocations: 33.64 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.289, allocations: 92.12 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.289, allocations: 35.73 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.2891, allocations: 53.69 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2893, allocations: 318.8 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.2894, allocations: 51.97 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.2895, allocations: 87.88 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.2897, allocations: 141.2 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2897, allocations: 0 / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003636/0.2901, allocations: 211.2 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.2902, allocations: 37.7 kB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2902, allocations: 0 / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2902, allocations: 4 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.2902, allocations: 12.11 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2903, allocations: 7.938 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.2905, allocations: 35.86 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.2905, allocations: 12 kB / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001105/0.2906, allocations: 129.7 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.2907, allocations: 11.95 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.2907, allocations: 20.38 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2907, allocations: 4 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2907, allocations: 0 / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2907, allocations: 3.984 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.2912, allocations: 434.4 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2912, allocations: 0 / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.2912, allocations: 4 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2912, allocations: 0 / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.2912, allocations: 4 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2913, allocations: 3.984 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2913, allocations: 4 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.2916, allocations: 263.3 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.2916, allocations: 85.06 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.2917, allocations: 7.984 kB / 1.226 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.2917, allocations: 4 kB / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.2918, allocations: 19.91 kB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2918, allocations: 8 kB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.2919, allocations: 91.27 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2919, allocations: 0 / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002744/0.2922, allocations: 32 kB / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006946/0.2929, allocations: 0.8116 MB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003708/0.2932, allocations: 195.3 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2933, allocations: 0 / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.2934, allocations: 79.89 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2937, allocations: 19.92 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.2956, allocations: 1.692 MB / 1.229 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.2959, allocations: 0.6962 MB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.2959, allocations: 12.55 kB / 1.23 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.296, allocations: 23.44 kB / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.296, allocations: 0 / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.3188, allocations: 2.773 MB / 1.233 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.947, allocations: 17.28 kB / 1.233 GB, free: 1 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv --start-time -10 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches