Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_10_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.005081/0.005081, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001279/0.001279, allocations: 199.8 kB / 16.67 MB, free: 5.531 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.329/2.329, allocations: 437.1 MB / 0.7106 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 67.89 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7116, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001667/0.7133, allocations: 0.6741 MB / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.7147, allocations: 1.166 MB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.7148, allocations: 4 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.7148, allocations: 7.922 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.7149, allocations: 7.922 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.7153, allocations: 147.9 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.7155, allocations: 151.7 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.783e-05/0.7156, allocations: 8 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.7157, allocations: 67.81 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.7158, allocations: 43.88 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.7159, allocations: 16 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.7159, allocations: 23.98 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.324e-05/0.716, allocations: 27.91 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.253e-05/0.7161, allocations: 51.91 kB / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.7163, allocations: 130.3 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7163, allocations: 0 / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7163, allocations: 0 / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.7163, allocations: 0 / 1.169 GB, free: 1.25 MB / 0.8887 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.0005919/0.7169, allocations: 417.9 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.7169, allocations: 12.92 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.717, allocations: 38.73 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.717, allocations: 12.89 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.7174, allocations: 216.4 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.7174, allocations: 8.375 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.7175, allocations: 12.38 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.7176, allocations: 85.94 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7176, allocations: 0 / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.7177, allocations: 0 / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.7177, allocations: 4 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.7178, allocations: 47.91 kB / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.7183, allocations: 352.6 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.7185, allocations: 90.55 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.7186, allocations: 40.83 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.7186, allocations: 8.188 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.7188, allocations: 139.2 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.7188, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0003671/0.7192, allocations: 199.1 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.7193, allocations: 55.41 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.7194, allocations: 117.7 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.7194, allocations: 29.7 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.7195, allocations: 100.1 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.7195, allocations: 35.73 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.7196, allocations: 49.69 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7197, allocations: 318.8 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.7198, allocations: 47.97 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.7199, allocations: 90.48 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.7201, allocations: 135 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7201, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003204/0.7205, allocations: 207.2 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.7205, allocations: 41.83 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7205, allocations: 0 / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7205, allocations: 4 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.7206, allocations: 11.98 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.7206, allocations: 3.938 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.7208, allocations: 35.86 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.7208, allocations: 15.98 kB / 1.172 GB, free: 14.04 MB / 0.9044 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.0001009/0.7209, allocations: 125.8 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.721, allocations: 11.95 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.721, allocations: 12.5 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.721, allocations: 3.984 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.721, allocations: 0 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.721, allocations: 0 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.7214, allocations: 435.3 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7215, allocations: 0 / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.7215, allocations: 8 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.7215, allocations: 8 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.7215, allocations: 3.984 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7215, allocations: 320 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7215, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.7218, allocations: 267.8 kB / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.7219, allocations: 85.06 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.7219, allocations: 7.984 kB / 1.172 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.722, allocations: 12 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.722, allocations: 15.91 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.722, allocations: 8 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.634e-05/0.7221, allocations: 95.23 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7221, allocations: 0 / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002524/0.7224, allocations: 35.94 kB / 1.173 GB, free: 12.83 MB / 0.9044 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.0006136/0.723, allocations: 0.8048 MB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.7233, allocations: 193 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7233, allocations: 3.938 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.7234, allocations: 71.91 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.7237, allocations: 19.92 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.7254, allocations: 1.697 MB / 1.175 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.7257, allocations: 0.6885 MB / 1.176 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.7257, allocations: 12.55 kB / 1.176 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.7258, allocations: 27.42 kB / 1.176 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of SimCode: time 3.136e-06/0.7258, allocations: 0 / 1.176 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.175/2.901, allocations: 2.789 MB / 1.179 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/14.81, allocations: 7.891 kB / 1.179 GB, free: 6.496 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches