Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.001789/0.001789, allocations: 105.7 kB / 16.45 MB, free: 6.445 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.002078/0.002078, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 67.89 kB / 1.056 GB, free: 2.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.32, allocations: 160.7 MB / 1.213 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002335/0.3223, allocations: 0.8487 MB / 1.214 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.3247, allocations: 1.48 MB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.3248, allocations: 0 / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.325, allocations: 23.8 kB / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.3251, allocations: 39.7 kB / 1.215 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.3267, allocations: 0.5174 MB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008048/0.3275, allocations: 479.1 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3276, allocations: 33.48 kB / 1.216 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.3279, allocations: 187.7 kB / 1.216 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.3282, allocations: 167.5 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.144e-05/0.3283, allocations: 40 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3284, allocations: 63.91 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.3285, allocations: 43.84 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.3287, allocations: 163.5 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.3292, allocations: 411 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3292, allocations: 0 / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3292, allocations: 0 / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.882e-06/0.3292, allocations: 0 / 1.217 GB, free: 12.96 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009959/0.3302, allocations: 0.6553 MB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3303, allocations: 8.031 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.479e-05/0.3303, allocations: 38.75 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.3304, allocations: 32.83 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.3308, allocations: 269 kB / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.3308, allocations: 16.38 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.3309, allocations: 32.38 kB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3312, allocations: 158.5 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3312, allocations: 7.875 kB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.3312, allocations: 7.984 kB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3312, allocations: 4 kB / 1.218 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.3314, allocations: 79.95 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.3325, allocations: 0.7033 MB / 1.219 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.3328, allocations: 167.6 kB / 1.219 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.795e-05/0.3329, allocations: 40.83 kB / 1.219 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.3329, allocations: 4 kB / 1.219 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003611/0.3332, allocations: 149.3 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.3332, allocations: 4 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0005364/0.3338, allocations: 245.3 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.3338, allocations: 55.41 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.334, allocations: 190.7 kB / 1.22 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/0.3341, allocations: 37.7 kB / 1.22 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3342, allocations: 132.6 kB / 1.22 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.3343, allocations: 35.75 kB / 1.22 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.3345, allocations: 117.6 kB / 1.22 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.3347, allocations: 326.8 kB / 1.221 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.3351, allocations: 159.9 kB / 1.221 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.3354, allocations: 250.9 kB / 1.221 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.3359, allocations: 402.6 kB / 1.221 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3359, allocations: 0 / 1.221 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001099/0.337, allocations: 0.6283 MB / 1.222 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.3372, allocations: 164.4 kB / 1.222 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3372, allocations: 0 / 1.222 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3372, allocations: 8 kB / 1.222 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.589e-05/0.3372, allocations: 11.94 kB / 1.222 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.3373, allocations: 11.92 kB / 1.222 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/0.338, allocations: 140 kB / 1.222 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.3381, allocations: 35.97 kB / 1.222 GB, free: 7.242 MB / 0.9669 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.0001977/0.3383, allocations: 155.1 kB / 1.223 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.3383, allocations: 19.84 kB / 1.223 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.3383, allocations: 17.88 kB / 1.223 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3383, allocations: 0 / 1.223 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.3383, allocations: 8.047 kB / 1.223 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3384, allocations: 3.984 kB / 1.223 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.339, allocations: 0.5085 MB / 1.223 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.339, allocations: 4.094 kB / 1.223 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.339, allocations: 11.88 kB / 1.223 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.339, allocations: 0 / 1.223 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.339, allocations: 11.98 kB / 1.223 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3391, allocations: 0 / 1.223 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3391, allocations: 0 / 1.223 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.3394, allocations: 283.3 kB / 1.223 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.3394, allocations: 93 kB / 1.224 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3395, allocations: 0 / 1.224 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.47e-05/0.3395, allocations: 8 kB / 1.224 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.3396, allocations: 23.97 kB / 1.224 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3396, allocations: 8 kB / 1.224 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001036/0.3397, allocations: 119.2 kB / 1.224 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3397, allocations: 0 / 1.224 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003992/0.3401, allocations: 87.88 kB / 1.224 GB, free: 5.793 MB / 0.9669 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.0007147/0.3408, allocations: 0.8391 MB / 1.225 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007894/0.3416, allocations: 0.5535 MB / 1.225 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3416, allocations: 0 / 1.225 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3417, allocations: 69.97 kB / 1.225 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.3421, allocations: 46.52 kB / 1.225 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.3464, allocations: 3.009 MB / 1.228 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.3469, allocations: 0.7319 MB / 1.229 GB, free: 272 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.963e-05/0.347, allocations: 21.55 kB / 1.229 GB, free: 244 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.3471, allocations: 55.41 kB / 1.229 GB, free: 192 kB / 0.9669 GB Notification: Performance of SimCode: time 1.142e-06/0.3471, allocations: 3.938 kB / 1.229 GB, free: 188 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.3773, allocations: 6.387 MB / 1.235 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/8.84, allocations: 0.7031 kB / 1.235 GB, free: 9.949 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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: 14.870260924100876]