Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_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.0062/0.0062, allocations: 97.39 kB / 15.73 MB, free: 5.988 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.001562/0.001562, allocations: 188.4 kB / 16.67 MB, free: 5.918 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.71/2.71, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001787, allocations: 67.89 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3058, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001974/0.3078, allocations: 0.6632 MB / 1.243 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3096, allocations: 1.155 MB / 1.244 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.3097, allocations: 0 / 1.244 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.3098, allocations: 3.938 kB / 1.244 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/0.3099, allocations: 11.92 kB / 1.244 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.3104, allocations: 139.3 kB / 1.244 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.3107, allocations: 151.7 kB / 1.244 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3108, allocations: 19.97 kB / 1.244 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.3109, allocations: 55.84 kB / 1.244 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.311, allocations: 55.84 kB / 1.244 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.311, allocations: 12 kB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.3111, allocations: 24 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.3112, allocations: 23.91 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.421e-05/0.3113, allocations: 51.89 kB / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.3115, allocations: 127.6 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3115, allocations: 3.984 kB / 1.244 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3115, allocations: 4 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3115, allocations: 0 / 1.244 GB, free: 7.336 MB / 0.9981 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.0006854/0.3122, allocations: 416.9 kB / 1.245 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3123, allocations: 8.031 kB / 1.245 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/0.3123, allocations: 38.75 kB / 1.245 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.3124, allocations: 16.88 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.3128, allocations: 212.4 kB / 1.245 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3129, allocations: 8.375 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.3129, allocations: 20.36 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3131, allocations: 77.95 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3131, allocations: 4 kB / 1.245 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3131, allocations: 7.984 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3131, allocations: 0 / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.3132, allocations: 47.84 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.3138, allocations: 356.7 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.314, allocations: 90.62 kB / 1.246 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.824e-05/0.3141, allocations: 48.77 kB / 1.246 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.3141, allocations: 0 / 1.246 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000284/0.3144, allocations: 131.3 kB / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.3144, allocations: 0 / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0004136/0.3148, allocations: 197.6 kB / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.3149, allocations: 63.33 kB / 1.246 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.315, allocations: 109.8 kB / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.3151, allocations: 33.7 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.3151, allocations: 92.23 kB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.3152, allocations: 39.67 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.3153, allocations: 49.7 kB / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3154, allocations: 326.8 kB / 1.247 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.3155, allocations: 47.97 kB / 1.247 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3157, allocations: 85.98 kB / 1.247 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3159, allocations: 140.9 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3159, allocations: 4 kB / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003698/0.3163, allocations: 203.2 kB / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.3163, allocations: 37.69 kB / 1.247 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3163, allocations: 4 kB / 1.247 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3164, allocations: 0 / 1.247 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.3164, allocations: 12.06 kB / 1.247 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3165, allocations: 8 kB / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3167, allocations: 43.84 kB / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.3167, allocations: 4 kB / 1.247 GB, free: 4.125 MB / 0.9981 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.0001359/0.3168, allocations: 138.2 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.3169, allocations: 7.938 kB / 1.247 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.3169, allocations: 12.5 kB / 1.247 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3169, allocations: 4 kB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3169, allocations: 0 / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3169, allocations: 0 / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.3174, allocations: 438.3 kB / 1.248 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3174, allocations: 0 / 1.248 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.3175, allocations: 7.984 kB / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3175, allocations: 0 / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3175, allocations: 8 kB / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3175, allocations: 0 / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3175, allocations: 4 kB / 1.248 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.3178, allocations: 263.3 kB / 1.248 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.3179, allocations: 81.11 kB / 1.248 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.3179, allocations: 4 kB / 1.248 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.318, allocations: 11.98 kB / 1.248 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.318, allocations: 15.92 kB / 1.248 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.318, allocations: 11.98 kB / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.38e-05/0.3181, allocations: 83.28 kB / 1.248 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3181, allocations: 0 / 1.248 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002647/0.3184, allocations: 39.94 kB / 1.248 GB, free: 2.918 MB / 0.9981 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.0007228/0.3191, allocations: 0.8051 MB / 1.249 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003281/0.3195, allocations: 191.4 kB / 1.249 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3195, allocations: 0 / 1.249 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.3196, allocations: 75.86 kB / 1.249 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3199, allocations: 30.88 kB / 1.249 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5234/0.8433, allocations: 1.699 MB / 1.251 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.8436, allocations: 0.6897 MB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.451e-05/0.8436, allocations: 8.75 kB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.8437, allocations: 22.5 kB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/0.8437, allocations: 0.5312 kB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.124/1.968, allocations: 2.789 MB / 1.254 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/15.27, allocations: 8.594 kB / 1.254 GB, free: 13.82 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches