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.001867/0.001867, allocations: 82.48 kB / 19.18 MB, free: 2.523 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.002291/0.002291, allocations: 168 kB / 22.46 MB, free: 5.359 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.619/1.619, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.742/2.742, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: 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 2.645e-06/2.645e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.018e-05/4.282e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.003309/0.003352, allocations: 0.7502 MB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00301/0.006362, allocations: 1.272 MB / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.006468, allocations: 0 / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.692e-05/0.006535, allocations: 11.81 kB / 0.953 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.006662, allocations: 23.84 kB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.007762, allocations: 253.9 kB / 0.9532 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.00825, allocations: 259.6 kB / 0.9535 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.008486, allocations: 37.06 kB / 0.9535 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.008789, allocations: 155.7 kB / 0.9537 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.009026, allocations: 79.8 kB / 0.9538 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.371e-05/0.0091, allocations: 27.94 kB / 0.9538 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.009247, allocations: 35.98 kB / 0.9538 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.009323, allocations: 39.89 kB / 0.9539 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.009501, allocations: 79.84 kB / 0.9539 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005577/0.01006, allocations: 287.2 kB / 0.9542 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01006, allocations: 0 / 0.9542 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.01006, allocations: 0 / 0.9542 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.01008, allocations: 0 / 0.9542 GB, free: 8.25 MB / 0.8575 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.001008/0.01109, allocations: 433.1 kB / 0.9546 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.01115, allocations: 8.031 kB / 0.9546 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.01127, allocations: 20.84 kB / 0.9546 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008191/0.01209, allocations: 185.7 kB / 0.9548 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.01212, allocations: 16.36 kB / 0.9548 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.0122, allocations: 24.36 kB / 0.9549 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.01259, allocations: 126.1 kB / 0.955 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.01261, allocations: 4.188 kB / 0.955 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.01264, allocations: 8.359 kB / 0.955 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.01267, allocations: 8.125 kB / 0.955 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.01287, allocations: 63.91 kB / 0.9551 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.01373, allocations: 352.1 kB / 0.9554 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.01401, allocations: 82.53 kB / 0.9555 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.796e-05/0.0141, allocations: 36.84 kB / 0.9555 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.01411, allocations: 0 / 0.9555 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004438/0.01455, allocations: 131.2 kB / 0.9556 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.01456, allocations: 0 / 0.9556 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0007315/0.01529, allocations: 243.8 kB / 0.9559 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.01537, allocations: 63.34 kB / 0.9559 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.01556, allocations: 143.6 kB / 0.9561 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.906e-05/0.01562, allocations: 37.7 kB / 0.9561 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.01575, allocations: 112.6 kB / 0.9562 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.0158, allocations: 31.81 kB / 0.9562 GB, free: 6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.016, allocations: 69.67 kB / 0.9563 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.0162, allocations: 318.8 kB / 0.9566 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.01651, allocations: 127.4 kB / 0.9567 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.01689, allocations: 197.4 kB / 0.9569 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.01733, allocations: 224 kB / 0.9571 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01733, allocations: 0 / 0.9571 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008807/0.01821, allocations: 368.1 kB / 0.9575 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.01831, allocations: 67.39 kB / 0.9575 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.01832, allocations: 4.25 kB / 0.9575 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.01835, allocations: 11.94 kB / 0.9576 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.01839, allocations: 15.86 kB / 0.9576 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.01841, allocations: 4 kB / 0.9576 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.01891, allocations: 59.83 kB / 0.9576 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.01896, allocations: 12 kB / 0.9576 GB, free: 4.406 MB / 0.8575 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.0002109/0.01917, allocations: 141.8 kB / 0.9578 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.01921, allocations: 11.95 kB / 0.9578 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.01925, allocations: 8.781 kB / 0.9578 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.01926, allocations: 11.94 kB / 0.9578 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.01927, allocations: 0 / 0.9578 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.01928, allocations: 3.984 kB / 0.9578 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000709/0.01998, allocations: 416.7 kB / 0.9582 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01999, allocations: 0 / 0.9582 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.02001, allocations: 7.922 kB / 0.9582 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.02001, allocations: 3.938 kB / 0.9582 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.02004, allocations: 15.94 kB / 0.9582 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.02004, allocations: 0 / 0.9582 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02004, allocations: 0 / 0.9582 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.02055, allocations: 291.4 kB / 0.9585 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.02057, allocations: 7.953 kB / 0.9585 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.02061, allocations: 7.938 kB / 0.9585 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.02072, allocations: 7.984 kB / 0.9585 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.02078, allocations: 11.98 kB / 0.9586 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.02082, allocations: 11.98 kB / 0.9586 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001084/0.02093, allocations: 99.27 kB / 0.9587 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.02093, allocations: 3.938 kB / 0.9587 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005359/0.02146, allocations: 51.89 kB / 0.9587 GB, free: 3.258 MB / 0.8575 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.0002537/0.02171, allocations: 103.2 kB / 0.9588 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007084/0.02242, allocations: 333.9 kB / 0.9591 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.02243, allocations: 0 / 0.9591 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.02258, allocations: 57.09 kB / 0.9592 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.02308, allocations: 20.48 kB / 0.9592 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007736/0.02385, allocations: 265.9 kB / 0.9595 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.02399, allocations: 98.77 kB / 0.9596 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.535e-05/0.02405, allocations: 21.12 kB / 0.9596 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.02409, allocations: 16.5 kB / 0.9596 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.02409, allocations: 3.938 kB / 0.9596 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of Templates: time 0.008942/0.03303, allocations: 2.324 MB / 0.9619 GB, free: 15.99 MB / 0.8731 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.437334921211004]