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.002261/0.002261, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002415/0.002415, allocations: 161 kB / 23.01 MB, free: 4.602 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.547/1.547, allocations: 177.2 MB / 203.4 MB, free: 8.891 MB / 190.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.711/2.711, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] 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: 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: 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.002459/0.002459, allocations: 75.88 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3789, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002196/0.3811, allocations: 0.7346 MB / 1.118 GB, free: 1.793 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.3833, allocations: 1.272 MB / 1.119 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.3834, allocations: 4 kB / 1.119 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.225e-05/0.3834, allocations: 15.8 kB / 1.119 GB, free: 500 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.609e-05/0.3835, allocations: 7.875 kB / 1.119 GB, free: 492 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008717/0.3844, allocations: 259.8 kB / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.3848, allocations: 255.7 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.385, allocations: 48.62 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.3852, allocations: 103.8 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.3854, allocations: 91.59 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.3854, allocations: 28 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.836e-05/0.3855, allocations: 28 kB / 1.12 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.3856, allocations: 43.88 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.3857, allocations: 79.77 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.3861, allocations: 251.2 kB / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3861, allocations: 0 / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3861, allocations: 0 / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.3861, allocations: 7.938 kB / 1.121 GB, free: 15.32 MB / 1.076 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.0007781/0.3868, allocations: 429.1 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3869, allocations: 8.031 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.955e-05/0.387, allocations: 20.84 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.3876, allocations: 186.4 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.3876, allocations: 16.36 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.3876, allocations: 16.38 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.3879, allocations: 131.5 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3879, allocations: 11.92 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.388, allocations: 0 / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.388, allocations: 4 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.3881, allocations: 75.89 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.3887, allocations: 348 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.3889, allocations: 78.53 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.389, allocations: 32.84 kB / 1.122 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.389, allocations: 0 / 1.122 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/0.3893, allocations: 150.2 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.3893, allocations: 0 / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0005222/0.3898, allocations: 237.5 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3899, allocations: 55.41 kB / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.39, allocations: 145.7 kB / 1.122 GB, free: 13.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.3901, allocations: 33.7 kB / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.3902, allocations: 112.6 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.3902, allocations: 35.8 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.3903, allocations: 69.67 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3905, allocations: 318.8 kB / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.3907, allocations: 131.4 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.391, allocations: 191 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.3914, allocations: 214.9 kB / 1.124 GB, free: 12.05 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3914, allocations: 0 / 1.124 GB, free: 12.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005549/0.392, allocations: 375.4 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.392, allocations: 75.33 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.392, allocations: 0 / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3921, allocations: 4 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.158e-05/0.3921, allocations: 11.92 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3921, allocations: 4 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.3924, allocations: 64.08 kB / 1.124 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.3925, allocations: 16 kB / 1.124 GB, free: 11.48 MB / 1.076 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.0001348/0.3926, allocations: 137.8 kB / 1.124 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.3926, allocations: 15.89 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.3927, allocations: 12.77 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3927, allocations: 7.938 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3927, allocations: 4 kB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3927, allocations: 0 / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.3932, allocations: 418 kB / 1.125 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.3932, allocations: 7.922 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.3932, allocations: 0 / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3932, allocations: 4 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3932, allocations: 4 kB / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3932, allocations: 0 / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3932, allocations: 4 kB / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.3936, allocations: 303.2 kB / 1.125 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.3936, allocations: 11.95 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.3936, allocations: 0 / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.3937, allocations: 7.984 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.3937, allocations: 15.97 kB / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.3938, allocations: 11.98 kB / 1.125 GB, free: 10.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.573e-05/0.3938, allocations: 103.2 kB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3938, allocations: 0 / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003256/0.3942, allocations: 47.89 kB / 1.125 GB, free: 10.32 MB / 1.076 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.0001656/0.3943, allocations: 104 kB / 1.125 GB, free: 10.21 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.3948, allocations: 337.9 kB / 1.126 GB, free: 9.844 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3948, allocations: 0 / 1.126 GB, free: 9.844 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3949, allocations: 62.91 kB / 1.126 GB, free: 9.785 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.3952, allocations: 31.83 kB / 1.126 GB, free: 9.754 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/0.3959, allocations: 263.4 kB / 1.126 GB, free: 9.465 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.396, allocations: 103.3 kB / 1.126 GB, free: 9.344 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.396, allocations: 13.14 kB / 1.126 GB, free: 9.332 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.3961, allocations: 12.5 kB / 1.126 GB, free: 9.32 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.3961, allocations: 0 / 1.126 GB, free: 9.32 MB / 1.076 GB Notification: Performance of Templates: time 0.006805/0.4029, allocations: 2.323 MB / 1.128 GB, free: 7.043 MB / 1.076 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 -s ida -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/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.00441056699492]