Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.00143/0.00143, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001548/0.001548, allocations: 219.2 kB / 22.99 MB, free: 4.914 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.786/2.786, allocations: 476 MB / 0.7707 GB, free: 4.77 MB / 0.6231 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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [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.002189/0.002189, allocations: 66.8 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3073, allocations: 169.9 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002147/0.3094, allocations: 0.8065 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3115, allocations: 1.496 MB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.3116, allocations: 3.938 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.3118, allocations: 19.8 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.3118, allocations: 35.7 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.3132, allocations: 0.5236 MB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000646/0.3138, allocations: 475.2 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.3139, allocations: 25.67 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.3142, allocations: 191.7 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.3145, allocations: 155.5 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-05/0.3146, allocations: 40 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.3147, allocations: 55.98 kB / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.3148, allocations: 39.84 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.315, allocations: 147.6 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.3155, allocations: 418.6 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3155, allocations: 4 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3155, allocations: 0 / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.3155, allocations: 0 / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008524/0.3164, allocations: 0.5761 MB / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3164, allocations: 8.031 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.3165, allocations: 32.8 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.3169, allocations: 203.5 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.3169, allocations: 16.38 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.317, allocations: 28.38 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.3172, allocations: 156.4 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3173, allocations: 192 / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3173, allocations: 11.92 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.3173, allocations: 4 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.3174, allocations: 87.8 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008495/0.3183, allocations: 0.5625 MB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3185, allocations: 86.55 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/0.3186, allocations: 44.83 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.3186, allocations: 0 / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.3189, allocations: 161.1 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.3189, allocations: 0 / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0005085/0.3194, allocations: 255.4 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3194, allocations: 55.41 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3196, allocations: 194.7 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.3196, allocations: 37.7 kB / 1.291 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3198, allocations: 128.6 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.3198, allocations: 47.67 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.32, allocations: 113.7 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3202, allocations: 334.8 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004396/0.3206, allocations: 304.4 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.3211, allocations: 392.4 kB / 1.292 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.3216, allocations: 410.1 kB / 1.292 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3216, allocations: 4.062 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001153/0.3228, allocations: 0.7833 MB / 1.293 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.3229, allocations: 156.5 kB / 1.293 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.3229, allocations: 4 kB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.3229, allocations: 7.938 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.509e-05/0.323, allocations: 11.92 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.323, allocations: 4.344 kB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007385/0.3237, allocations: 139.7 kB / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.3238, allocations: 35.97 kB / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001857/0.324, allocations: 165.5 kB / 1.293 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.324, allocations: 15.91 kB / 1.293 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.324, allocations: 25.73 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.324, allocations: 3.938 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.324, allocations: 4 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.324, allocations: 0 / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.3246, allocations: 438 kB / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3246, allocations: 0 / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.3246, allocations: 8 kB / 1.294 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3246, allocations: 3.938 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3246, allocations: 11.98 kB / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3246, allocations: 0 / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3246, allocations: 0 / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.325, allocations: 277.4 kB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.325, allocations: 15.84 kB / 1.294 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.325, allocations: 11.98 kB / 1.294 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.3251, allocations: 4 kB / 1.294 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.3251, allocations: 19.97 kB / 1.294 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3252, allocations: 8 kB / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3253, allocations: 123.2 kB / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3253, allocations: 0 / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003612/0.3256, allocations: 87.89 kB / 1.294 GB, free: 0.5352 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000164/0.3258, allocations: 111.1 kB / 1.295 GB, free: 432 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008969/0.3267, allocations: 0.6932 MB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3267, allocations: 0 / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.3268, allocations: 79.95 kB / 1.295 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.3272, allocations: 54.38 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/0.3278, allocations: 364 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.3279, allocations: 116.1 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.328, allocations: 23.44 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.328, allocations: 0 / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of Templates: time 0.005866/0.3339, allocations: 3.375 MB / 1.299 GB, free: 11.62 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,mulOr0.y,mulOr1.u[1],mulOr1.y,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[2],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y Variables in the result:mulOr0.y,mulOr1.u[1],mulOr1.y,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[2],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,time [Calling sys.exit(0), Time elapsed: 11.654009800869972]