Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.001603/0.001603, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001797/0.001797, allocations: 209.4 kB / 23.03 MB, free: 4.867 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.149/3.149, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [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.002062/0.002062, allocations: 71.91 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3196, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002044/0.3216, allocations: 0.8119 MB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.3237, allocations: 1.49 MB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-05/0.3238, allocations: 3.938 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.3239, allocations: 19.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.943e-05/0.324, allocations: 31.72 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.3254, allocations: 0.5199 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005965/0.326, allocations: 475.2 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3261, allocations: 29.67 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.3263, allocations: 191.7 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.3266, allocations: 151.5 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.3266, allocations: 40 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3268, allocations: 55.98 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.3268, allocations: 39.84 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.327, allocations: 147.6 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.3275, allocations: 418.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3275, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3275, allocations: 3.938 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3275, allocations: 4 kB / 1.331 GB, free: 12.58 MB / 1.029 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.0007696/0.3283, allocations: 0.5761 MB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3283, allocations: 8.031 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.65e-05/0.3284, allocations: 28.84 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.3287, allocations: 202.2 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3288, allocations: 20.31 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.3288, allocations: 28.38 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.3291, allocations: 155.8 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3291, allocations: 192 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3291, allocations: 11.92 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3291, allocations: 3.938 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.3293, allocations: 88.56 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/0.3301, allocations: 0.5663 MB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.3303, allocations: 86.55 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.767e-05/0.3304, allocations: 40.83 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.3304, allocations: 4 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.3306, allocations: 155.3 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.3306, allocations: 4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004975/0.3311, allocations: 247 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.3312, allocations: 59.41 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.3314, allocations: 186.7 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/0.3314, allocations: 37.7 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.3316, allocations: 128.6 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.3316, allocations: 39.73 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.3318, allocations: 113.6 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.332, allocations: 334.8 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/0.3324, allocations: 308.3 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.3329, allocations: 390.6 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.3335, allocations: 408.8 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3335, allocations: 4 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001182/0.3346, allocations: 0.7897 MB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.3348, allocations: 160.5 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3348, allocations: 4 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3348, allocations: 7.938 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.943e-05/0.3348, allocations: 12.27 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3348, allocations: 8 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/0.3356, allocations: 135.7 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/0.3357, allocations: 39.97 kB / 1.337 GB, free: 6.789 MB / 1.029 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,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.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.0001947/0.3359, allocations: 163.5 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.3359, allocations: 15.91 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.336, allocations: 21.8 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.336, allocations: 3.938 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.336, allocations: 4 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.336, allocations: 0 / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.3365, allocations: 439.2 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3365, allocations: 4 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.3366, allocations: 4 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3366, allocations: 3.938 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.3366, allocations: 12.08 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3366, allocations: 3.938 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3366, allocations: 0 / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.3369, allocations: 277.4 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.3369, allocations: 19.84 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.337, allocations: 7.984 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.337, allocations: 4 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.3371, allocations: 19.97 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3371, allocations: 12 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3372, allocations: 119.2 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3372, allocations: 0 / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003813/0.3376, allocations: 87.89 kB / 1.338 GB, free: 5.523 MB / 1.029 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0001667/0.3378, allocations: 107.2 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008867/0.3386, allocations: 0.693 MB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3387, allocations: 4.25 kB / 1.339 GB, free: 4.621 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3388, allocations: 71.91 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.3392, allocations: 53.59 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.3398, allocations: 361.7 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.3399, allocations: 116.1 kB / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.34, allocations: 23.44 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.34, allocations: 0 / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of Templates: time 0.005897/0.3459, allocations: 3.386 MB / 1.343 GB, free: 0.6016 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,mulAnd0.y,mulAnd1.u[1],mulAnd1.y,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[1],mulAnd5.u[2],mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y Variables in the result:mulAnd0.y,mulAnd1.u[1],mulAnd1.y,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[1],mulAnd5.u[2],mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,time [Calling sys.exit(0), Time elapsed: 11.92158557404764]