Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.784/2.784, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] 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.Latch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.88 kB / 1.104 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 168.7 MB / 1.269 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002227/1.097, allocations: 0.7764 MB / 1.27 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001492/1.098, allocations: 1.253 MB / 1.271 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/1.098, allocations: 1.625 kB / 1.271 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.461e-05/1.098, allocations: 10.31 kB / 1.271 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/1.098, allocations: 20.17 kB / 1.271 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007259/1.099, allocations: 261.2 kB / 1.271 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/1.099, allocations: 251.1 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/1.099, allocations: 53.17 kB / 1.271 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/1.1, allocations: 105 kB / 1.271 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/1.1, allocations: 101.9 kB / 1.271 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/1.1, allocations: 25.19 kB / 1.272 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/1.1, allocations: 37.67 kB / 1.272 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/1.1, allocations: 36.48 kB / 1.272 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/1.1, allocations: 94.83 kB / 1.272 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004023/1.1, allocations: 251.7 kB / 1.272 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.1, allocations: 4 kB / 1.272 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/1.1, allocations: 0 / 1.272 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.77e-06/1.1, allocations: 0.8125 kB / 1.272 GB, free: 5.793 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005743/1.101, allocations: 495.2 kB / 1.272 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.101, allocations: 10.41 kB / 1.272 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/1.101, allocations: 50.67 kB / 1.272 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/1.101, allocations: 16.98 kB / 1.272 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/1.102, allocations: 244.7 kB / 1.273 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/1.102, allocations: 13.56 kB / 1.273 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/1.102, allocations: 24.42 kB / 1.273 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/1.102, allocations: 127.6 kB / 1.273 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.102, allocations: 0 / 1.273 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/1.102, allocations: 9.156 kB / 1.273 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.102, allocations: 2.5 kB / 1.273 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/1.102, allocations: 66.28 kB / 1.273 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/1.103, allocations: 466.1 kB / 1.273 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/1.103, allocations: 86.64 kB / 1.273 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/1.103, allocations: 39.66 kB / 1.274 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/1.103, allocations: 4.969 kB / 1.274 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/1.103, allocations: 135.7 kB / 1.274 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/1.103, allocations: 0 / 1.274 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0004349/1.104, allocations: 238.2 kB / 1.274 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/1.104, allocations: 59.17 kB / 1.274 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/1.104, allocations: 142.7 kB / 1.274 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/1.104, allocations: 33.98 kB / 1.274 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/1.104, allocations: 112.2 kB / 1.274 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/1.104, allocations: 40.67 kB / 1.274 GB, free: 4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/1.104, allocations: 72.91 kB / 1.274 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.104e-05/1.104, allocations: 322.8 kB / 1.275 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/1.104, allocations: 64.52 kB / 1.275 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/1.104, allocations: 124.9 kB / 1.275 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/1.105, allocations: 215.6 kB / 1.275 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.105, allocations: 8.719 kB / 1.275 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004637/1.105, allocations: 314.3 kB / 1.275 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/1.105, allocations: 68.92 kB / 1.275 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.105, allocations: 1.969 kB / 1.275 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.105, allocations: 3.281 kB / 1.275 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.761e-05/1.105, allocations: 8.219 kB / 1.275 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.105, allocations: 7.062 kB / 1.275 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/1.105, allocations: 61 kB / 1.275 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/1.105, allocations: 18.41 kB / 1.275 GB, free: 3.086 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.0001077/1.106, allocations: 128.6 kB / 1.276 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/1.106, allocations: 17.38 kB / 1.276 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/1.106, allocations: 15.06 kB / 1.276 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.106, allocations: 1.188 kB / 1.276 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.106, allocations: 1.125 kB / 1.276 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/1.106, allocations: 0 / 1.276 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/1.106, allocations: 493.9 kB / 1.276 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.106, allocations: 1.125 kB / 1.276 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/1.106, allocations: 2.031 kB / 1.276 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.106, allocations: 1 kB / 1.276 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/1.106, allocations: 5.797 kB / 1.276 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.106, allocations: 5.062 kB / 1.276 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.106, allocations: 7.922 kB / 1.276 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/1.106, allocations: 291.5 kB / 1.276 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/1.106, allocations: 85.98 kB / 1.276 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/1.107, allocations: 3.422 kB / 1.276 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/1.107, allocations: 6.375 kB / 1.276 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/1.107, allocations: 15.23 kB / 1.277 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/1.107, allocations: 13.81 kB / 1.277 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.603e-05/1.107, allocations: 98.02 kB / 1.277 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.107, allocations: 0 / 1.277 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003258/1.107, allocations: 52.19 kB / 1.277 GB, free: 2.168 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006297/1.108, allocations: 0.835 MB / 1.277 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004459/1.108, allocations: 277 kB / 1.278 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.108, allocations: 0 / 1.278 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/1.108, allocations: 56.88 kB / 1.278 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/1.109, allocations: 23.53 kB / 1.278 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/1.111, allocations: 2.05 MB / 1.28 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/1.111, allocations: 0.7087 MB / 1.281 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.893e-05/1.111, allocations: 15.52 kB / 1.281 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/1.112, allocations: 35.72 kB / 1.281 GB, free: 14.86 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.112, allocations: 0 / 1.281 GB, free: 14.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/1.139, allocations: 3.621 MB / 1.284 GB, free: 14.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/9.277, allocations: 10.94 kB / 1.284 GB, free: 14.29 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Latch_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Latch.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.58569123595953]