Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.VariablePulseMinHold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",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.005083/0.005083, allocations: 106.2 kB / 15.74 MB, free: 6.445 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.001337/0.001337, allocations: 195.9 kB / 16.67 MB, free: 6.352 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 482.6 MB / 0.755 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 64.12 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 162.3 MB / 1.242 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.003269/0.3396, allocations: 1.078 MB / 1.243 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002762/0.3424, allocations: 1.595 MB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.3426, allocations: 4 kB / 1.244 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.3429, allocations: 23.73 kB / 1.245 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.343, allocations: 35.66 kB / 1.245 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.3438, allocations: 238.7 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005171/0.3443, allocations: 347.4 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.3446, allocations: 82.56 kB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.3448, allocations: 131.7 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.345, allocations: 131.4 kB / 1.245 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.405e-05/0.3451, allocations: 36 kB / 1.245 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3452, allocations: 47.98 kB / 1.246 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.3453, allocations: 55.83 kB / 1.246 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.3455, allocations: 135.5 kB / 1.246 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.346, allocations: 370.7 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.346, allocations: 0 / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.346, allocations: 4 kB / 1.246 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.346, allocations: 0 / 1.246 GB, free: 5.566 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001124/0.3472, allocations: 0.5593 MB / 1.247 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3472, allocations: 8.031 kB / 1.247 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.834e-05/0.3473, allocations: 46.73 kB / 1.247 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.992e-05/0.3474, allocations: 28.8 kB / 1.247 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.3478, allocations: 276 kB / 1.247 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.3479, allocations: 16.66 kB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.3479, allocations: 36.36 kB / 1.247 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.3484, allocations: 199.8 kB / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3484, allocations: 0 / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.3484, allocations: 11.98 kB / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.3484, allocations: 7.938 kB / 1.247 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.3488, allocations: 140.7 kB / 1.247 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.3499, allocations: 0.6526 MB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.3504, allocations: 202.9 kB / 1.248 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.3506, allocations: 93.92 kB / 1.248 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3506, allocations: 4 kB / 1.248 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004152/0.351, allocations: 215.9 kB / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/0.351, allocations: 0 / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.0007858/0.3518, allocations: 346.6 kB / 1.249 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.3519, allocations: 59.41 kB / 1.249 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3521, allocations: 186.2 kB / 1.249 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.3521, allocations: 41.7 kB / 1.249 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.3522, allocations: 128.6 kB / 1.249 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/0.3523, allocations: 63.53 kB / 1.249 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.3525, allocations: 69.69 kB / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3526, allocations: 334.8 kB / 1.25 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.3528, allocations: 103.8 kB / 1.25 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.3531, allocations: 137.5 kB / 1.25 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.3534, allocations: 212.9 kB / 1.25 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3534, allocations: 0 / 1.25 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005699/0.354, allocations: 335.4 kB / 1.25 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.3541, allocations: 41.69 kB / 1.25 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3541, allocations: 48 / 1.25 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3541, allocations: 7.984 kB / 1.25 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3542, allocations: 27.92 kB / 1.25 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.3542, allocations: 4 kB / 1.25 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.3545, allocations: 51.78 kB / 1.251 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.3545, allocations: 8 kB / 1.251 GB, free: 0.6992 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.000164/0.3547, allocations: 166.3 kB / 1.251 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.3548, allocations: 19.91 kB / 1.251 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005704/0.3553, allocations: 283.3 kB / 1.251 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3553, allocations: 4 kB / 1.251 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3554, allocations: 0 / 1.251 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3554, allocations: 4 kB / 1.251 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6794/1.035, allocations: 0.6764 MB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.035, allocations: 1.453 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.206e-05/1.035, allocations: 18.19 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/1.035, allocations: 2.188 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/1.035, allocations: 10.61 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/1.035, allocations: 2.25 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/1.035, allocations: 2.625 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/1.036, allocations: 369.4 kB / 1.252 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/1.036, allocations: 101 kB / 1.252 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/1.036, allocations: 14.12 kB / 1.252 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/1.036, allocations: 19.47 kB / 1.252 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/1.036, allocations: 25.78 kB / 1.252 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/1.036, allocations: 17.22 kB / 1.252 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001087/1.036, allocations: 124.6 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.036, allocations: 1.719 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003994/1.036, allocations: 66.33 kB / 1.252 GB, free: 14.3 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: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0008511/1.037, allocations: 0.9462 MB / 1.253 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006043/1.038, allocations: 311.3 kB / 1.254 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.038, allocations: 1.281 kB / 1.254 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/1.038, allocations: 133 kB / 1.254 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/1.039, allocations: 46 kB / 1.254 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/1.042, allocations: 2.395 MB / 1.256 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/1.042, allocations: 0.733 MB / 1.257 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001041/1.042, allocations: 25.03 kB / 1.257 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/1.042, allocations: 61.22 kB / 1.257 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/1.042, allocations: 0 / 1.257 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.221/3.263, allocations: 5.196 MB / 1.262 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/18.83, allocations: 7.984 kB / 1.262 GB, free: 10.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches