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.001741/0.001741, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002044/0.002044, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.517/1.517, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.893/2.893, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.89 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9239/0.9259, allocations: 168.7 MB / 1.274 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002548/0.9285, allocations: 0.7744 MB / 1.275 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.9304, allocations: 1.257 MB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.634e-05/0.9305, allocations: 0 / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.1e-05/0.9305, allocations: 11.86 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.339e-05/0.9306, allocations: 15.86 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.9315, allocations: 261.7 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.9318, allocations: 251.6 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.932, allocations: 49.03 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.9322, allocations: 107.8 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.9325, allocations: 103.6 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.9326, allocations: 27.98 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.9327, allocations: 39.98 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.9328, allocations: 31.91 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.9329, allocations: 95.67 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.9333, allocations: 249.8 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9333, allocations: 0 / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9333, allocations: 0 / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.9333, allocations: 0 / 1.277 GB, free: 1.141 MB / 0.9669 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.0008215/0.9341, allocations: 0.4905 MB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.9342, allocations: 8.031 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.884e-05/0.9343, allocations: 16.89 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/0.9349, allocations: 248.3 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/0.935, allocations: 12.38 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.935, allocations: 16.38 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.9353, allocations: 132.8 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.9353, allocations: 7.875 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.9353, allocations: 7.938 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.9353, allocations: 4 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.9355, allocations: 67.95 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.9362, allocations: 468.2 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.9364, allocations: 78.53 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.473e-05/0.9365, allocations: 32.84 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.9365, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003348/0.9368, allocations: 151.2 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.9368, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004751/0.9373, allocations: 233.5 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.9374, allocations: 55.41 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.9375, allocations: 147.8 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.9375, allocations: 33.69 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/0.9376, allocations: 108.6 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.9377, allocations: 39.67 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.9378, allocations: 73.67 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.938, allocations: 326.8 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.9381, allocations: 55.97 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.9383, allocations: 133.7 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.9386, allocations: 221.3 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.9386, allocations: 0 / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005244/0.9391, allocations: 308.7 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-05/0.9392, allocations: 67.41 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.9392, allocations: 0 / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.9392, allocations: 4 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.219e-05/0.9392, allocations: 11.92 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9393, allocations: 4.25 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.9396, allocations: 67.81 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.9396, allocations: 15.98 kB / 1.281 GB, free: 13.23 MB / 0.9825 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.0001428/0.9398, allocations: 133.8 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.9398, allocations: 11.89 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.9398, allocations: 32.77 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.9398, allocations: 0 / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.9399, allocations: 0 / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.9399, allocations: 0 / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.9404, allocations: 490.2 kB / 1.281 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.9404, allocations: 4 kB / 1.281 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.116e-05/0.9404, allocations: 0 / 1.281 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.9404, allocations: 0 / 1.281 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.9404, allocations: 8 kB / 1.281 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.9404, allocations: 7.938 kB / 1.281 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.9404, allocations: 3.984 kB / 1.281 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.9408, allocations: 292.7 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.9408, allocations: 85.06 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.9408, allocations: 4 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.408e-05/0.9409, allocations: 3.984 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.941, allocations: 15.98 kB / 1.282 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.941, allocations: 11.98 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.856e-05/0.9411, allocations: 101 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9411, allocations: 0 / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003176/0.9414, allocations: 51.89 kB / 1.282 GB, free: 11.9 MB / 0.9825 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.0001853/0.9416, allocations: 111.8 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.942, allocations: 266.5 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.942, allocations: 0.5 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.9421, allocations: 70.14 kB / 1.282 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.9424, allocations: 34.64 kB / 1.282 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.943, allocations: 267.3 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.9434, allocations: 0.7124 MB / 1.283 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.601e-05/0.9434, allocations: 13.08 kB / 1.283 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.9435, allocations: 11.44 kB / 1.283 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9435, allocations: 0 / 1.283 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of Templates: time 0.005891/0.9494, allocations: 2.183 MB / 1.286 GB, free: 8.188 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 400] 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: 9.170255983248353]