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.001755/0.001755, allocations: 111.6 kB / 18.88 MB, free: 2.914 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.002065/0.002065, allocations: 201 kB / 22.17 MB, free: 5.191 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.482/1.482, 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.834/2.834, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.002029/0.002029, allocations: 71.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7353, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002204/0.7375, allocations: 0.7676 MB / 1.275 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.7393, allocations: 1.254 MB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/0.7394, allocations: 4 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.598e-05/0.7394, allocations: 15.8 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.7395, allocations: 15.86 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008198/0.7403, allocations: 252.4 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.7407, allocations: 255.6 kB / 1.277 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.7408, allocations: 49.03 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.7409, allocations: 103.7 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.7411, allocations: 107.7 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.7412, allocations: 28 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.383e-05/0.7413, allocations: 35.98 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.7413, allocations: 35.91 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.7414, allocations: 91.67 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.7417, allocations: 253.7 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7417, allocations: 0 / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7417, allocations: 4 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.7418, allocations: 0 / 1.277 GB, free: 1.297 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.0007277/0.7425, allocations: 0.4905 MB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.7425, allocations: 12.03 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.825e-05/0.7426, allocations: 20.89 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/0.7432, allocations: 236.3 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.7432, allocations: 12.38 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.7432, allocations: 24.38 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.7435, allocations: 132.5 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.7435, allocations: 3.938 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.7435, allocations: 4 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.7435, allocations: 11.94 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.7437, allocations: 67.95 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/0.7443, allocations: 464.2 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.7445, allocations: 82.53 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.775e-05/0.7446, allocations: 28.84 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.7446, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.7448, allocations: 149.8 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.7448, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004577/0.7453, allocations: 233.5 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.7453, allocations: 55.41 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.7454, allocations: 151.8 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.7455, allocations: 37.7 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.7456, allocations: 108.8 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.7456, allocations: 31.75 kB / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.7457, allocations: 69.67 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7459, allocations: 322.8 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.746, allocations: 63.97 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.7462, allocations: 131.6 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.7465, allocations: 225.3 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7465, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005088/0.747, allocations: 312.7 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.747, allocations: 59.41 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.747, allocations: 8.25 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7471, allocations: 0 / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.556e-05/0.7471, allocations: 23.92 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7471, allocations: 0 / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.7474, allocations: 59.83 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.7475, allocations: 19.98 kB / 1.281 GB, free: 13.39 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.0001326/0.7476, allocations: 141.7 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.7476, allocations: 11.89 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.7477, allocations: 16.83 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7477, allocations: 0 / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.7477, allocations: 0 / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7477, allocations: 4 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.7482, allocations: 490.3 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7482, allocations: 0 / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.7482, allocations: 7.938 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.7482, allocations: 4 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.7482, allocations: 0 / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.7482, allocations: 7.984 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7482, allocations: 0 / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.7486, allocations: 288.6 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.7486, allocations: 85.06 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.7487, allocations: 0 / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.7487, allocations: 15.98 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.7488, allocations: 7.984 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.7488, allocations: 15.98 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.998e-05/0.7489, allocations: 95.27 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7489, allocations: 0 / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003091/0.7492, allocations: 55.83 kB / 1.282 GB, free: 12.06 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.0001848/0.7494, allocations: 111.8 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004348/0.7498, allocations: 270.5 kB / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7498, allocations: 0 / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.943e-05/0.7499, allocations: 54.5 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.7502, allocations: 33.47 kB / 1.282 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.7508, allocations: 275.7 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.7511, allocations: 0.7085 MB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.7512, allocations: 13.08 kB / 1.283 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.7512, allocations: 15.44 kB / 1.283 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.7512, allocations: 0 / 1.283 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.005502/0.7567, allocations: 2.188 MB / 1.286 GB, free: 8.348 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 gbode -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: 8.680232184007764]