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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.616/1.616, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.788/2.788, allocations: 476.7 MB / 0.7678 GB, free: 9.328 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003141/0.003141, allocations: 65.78 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9929/0.9961, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002152/0.9982, allocations: 0.7677 MB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001955/1, allocations: 1.286 MB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/1, allocations: 2.125 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.649e-05/1, allocations: 14.08 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.277e-05/1, allocations: 12.06 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007703/1.001, allocations: 257.2 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/1.001, allocations: 251.2 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/1.002, allocations: 48 kB / 1.282 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/1.002, allocations: 105.8 kB / 1.282 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/1.002, allocations: 102.8 kB / 1.282 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/1.002, allocations: 24.25 kB / 1.282 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/1.002, allocations: 43.14 kB / 1.282 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/1.002, allocations: 31.67 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/1.002, allocations: 99.12 kB / 1.282 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004039/1.003, allocations: 245.5 kB / 1.282 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.003, allocations: 5.156 kB / 1.282 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/1.003, allocations: 0 / 1.282 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.003, allocations: 0 / 1.282 GB, free: 9.77 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.0007229/1.004, allocations: 0.4889 MB / 1.283 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/1.004, allocations: 14.03 kB / 1.283 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.466e-05/1.004, allocations: 3.156 kB / 1.283 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/1.004, allocations: 46.64 kB / 1.283 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/1.004, allocations: 22.92 kB / 1.283 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/1.004, allocations: 238.9 kB / 1.283 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/1.004, allocations: 14.61 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/1.004, allocations: 22.53 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/1.005, allocations: 136.7 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.005, allocations: 0 / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/1.005, allocations: 8.828 kB / 1.283 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/1.005, allocations: 1.594 kB / 1.283 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/1.005, allocations: 70.48 kB / 1.283 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/1.005, allocations: 455.4 kB / 1.284 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/1.006, allocations: 83.72 kB / 1.284 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/1.006, allocations: 38.55 kB / 1.284 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/1.006, allocations: 9.359 kB / 1.284 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/1.006, allocations: 125.2 kB / 1.284 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/1.006, allocations: 0 / 1.284 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0004775/1.006, allocations: 241.8 kB / 1.284 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/1.007, allocations: 63.06 kB / 1.284 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/1.007, allocations: 142.6 kB / 1.284 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/1.007, allocations: 33.61 kB / 1.284 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9e-05/1.007, allocations: 108.6 kB / 1.284 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/1.007, allocations: 39.2 kB / 1.284 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/1.007, allocations: 72.55 kB / 1.285 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.007, allocations: 320.5 kB / 1.285 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/1.007, allocations: 70.55 kB / 1.285 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/1.007, allocations: 129.2 kB / 1.285 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/1.008, allocations: 216.3 kB / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.008, allocations: 0 / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000526/1.008, allocations: 319.4 kB / 1.286 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/1.008, allocations: 63.34 kB / 1.286 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.008, allocations: 2.688 kB / 1.286 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.008, allocations: 2.625 kB / 1.286 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.914e-05/1.008, allocations: 15.02 kB / 1.286 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.008, allocations: 2.531 kB / 1.286 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/1.009, allocations: 61.27 kB / 1.286 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/1.009, allocations: 18.19 kB / 1.286 GB, free: 7.059 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.0001476/1.009, allocations: 140.5 kB / 1.286 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/1.009, allocations: 12.34 kB / 1.286 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/1.009, allocations: 10.28 kB / 1.286 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/1.009, allocations: 2.25 kB / 1.286 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.009, allocations: 1.469 kB / 1.286 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.009, allocations: 5.031 kB / 1.286 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/1.01, allocations: 495.9 kB / 1.286 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.01, allocations: 0.75 kB / 1.286 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/1.01, allocations: 2.891 kB / 1.286 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/1.01, allocations: 1.125 kB / 1.286 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/1.01, allocations: 4.672 kB / 1.286 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.01, allocations: 5.234 kB / 1.286 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.01, allocations: 0.7031 kB / 1.286 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/1.01, allocations: 301.8 kB / 1.287 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/1.01, allocations: 84.42 kB / 1.287 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/1.01, allocations: 3.328 kB / 1.287 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/1.01, allocations: 8.047 kB / 1.287 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/1.01, allocations: 10.58 kB / 1.287 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/1.01, allocations: 18.86 kB / 1.287 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.992e-05/1.01, allocations: 93.69 kB / 1.287 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.01, allocations: 0 / 1.287 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003318/1.011, allocations: 56.59 kB / 1.287 GB, free: 6.133 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.0007046/1.011, allocations: 0.8321 MB / 1.288 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004522/1.012, allocations: 266.5 kB / 1.288 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.012, allocations: 5.312 kB / 1.288 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/1.012, allocations: 64.56 kB / 1.288 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/1.012, allocations: 23.2 kB / 1.288 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/1.015, allocations: 2.052 MB / 1.29 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/1.015, allocations: 0.7074 MB / 1.291 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.838e-05/1.015, allocations: 15.03 kB / 1.291 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/1.015, allocations: 38.02 kB / 1.291 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.015, allocations: 0 / 1.291 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/1.039, allocations: 3.662 MB / 1.294 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.598/9.636, allocations: 16.81 kB / 1.294 GB, free: 2.242 MB / 0.9981 GB " [Timeout remaining time 290] (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] [Calling os._exit(0), Time elapsed: 15.99295667099068] Failed to read output from testmodel.py, exit status != 0: 9.766424133966211 9.789105297 8.782071962 Calling exit ...