Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001394/0.001394, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001403/0.001403, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.517/2.517, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.89 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7602/0.762, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001812/0.7638, allocations: 0.8464 MB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.7654, allocations: 1.485 MB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.7654, allocations: 5.656 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.7655, allocations: 21.77 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.7656, allocations: 36.95 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.7666, allocations: 0.5186 MB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004688/0.7671, allocations: 475 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.7672, allocations: 30.19 kB / 1.275 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.7674, allocations: 186.4 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.7676, allocations: 177 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.7677, allocations: 45.06 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.7678, allocations: 56.83 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.7679, allocations: 38.73 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.7681, allocations: 158 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.7685, allocations: 417.8 kB / 1.276 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.7685, allocations: 5.891 kB / 1.276 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7685, allocations: 0 / 1.276 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.7685, allocations: 0 / 1.276 GB, free: 5.211 MB / 0.9981 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.0006082/0.7691, allocations: 0.648 MB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.7691, allocations: 9.562 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.7692, allocations: 51.3 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.001e-05/0.7692, allocations: 28.5 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.7695, allocations: 253.4 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.7695, allocations: 20.16 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/0.7696, allocations: 29.34 kB / 1.277 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.7698, allocations: 154 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.7698, allocations: 3.938 kB / 1.277 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.7698, allocations: 6.844 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.7698, allocations: 2.906 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.77, allocations: 89.22 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/0.7707, allocations: 0.7097 MB / 1.278 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.7708, allocations: 163.7 kB / 1.278 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.7709, allocations: 37.34 kB / 1.278 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.7709, allocations: 9.188 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.7711, allocations: 153.3 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.7711, allocations: 0 / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0004261/0.7715, allocations: 243.6 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.7716, allocations: 56.67 kB / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.7717, allocations: 190 kB / 1.279 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.7718, allocations: 39.94 kB / 1.279 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.7718, allocations: 127.9 kB / 1.279 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.7719, allocations: 48.91 kB / 1.279 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.7721, allocations: 115.7 kB / 1.279 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.551e-05/0.7721, allocations: 332 kB / 1.279 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.7724, allocations: 158.6 kB / 1.279 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.7727, allocations: 241.3 kB / 1.28 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.7731, allocations: 410.5 kB / 1.28 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7731, allocations: 4.938 kB / 1.28 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009535/0.7741, allocations: 0.6298 MB / 1.281 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.02e-05/0.7742, allocations: 165.9 kB / 1.281 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7742, allocations: 2.875 kB / 1.281 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.7742, allocations: 4.766 kB / 1.281 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.257e-05/0.7742, allocations: 14.81 kB / 1.281 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.7742, allocations: 8.906 kB / 1.281 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/0.775, allocations: 140 kB / 1.281 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.775, allocations: 44.03 kB / 1.281 GB, free: 1.512 MB / 0.9981 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.000123/0.7752, allocations: 152.4 kB / 1.281 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.7752, allocations: 21.62 kB / 1.281 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.7752, allocations: 17.09 kB / 1.281 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.7752, allocations: 2.312 kB / 1.281 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7752, allocations: 0.5625 kB / 1.281 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7752, allocations: 2.703 kB / 1.281 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.7757, allocations: 0.5113 MB / 1.282 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7757, allocations: 1.156 kB / 1.282 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.7757, allocations: 5.688 kB / 1.282 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.7757, allocations: 0 / 1.282 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.7757, allocations: 7.906 kB / 1.282 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7757, allocations: 1.188 kB / 1.282 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7757, allocations: 2.094 kB / 1.282 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.7759, allocations: 289.9 kB / 1.282 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.7759, allocations: 99.05 kB / 1.282 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.776, allocations: 1.641 kB / 1.282 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.539e-05/0.776, allocations: 6.203 kB / 1.282 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.7761, allocations: 17.92 kB / 1.282 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.7761, allocations: 9.766 kB / 1.282 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.7762, allocations: 120.2 kB / 1.282 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7762, allocations: 0 / 1.282 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000337/0.7765, allocations: 79.34 kB / 1.282 GB, free: 0.5547 MB / 0.9981 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.0004896/0.777, allocations: 0.8356 MB / 1.283 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007246/0.7777, allocations: 0.548 MB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7777, allocations: 0 / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.7778, allocations: 72.52 kB / 1.284 GB, free: 15.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.7782, allocations: 54.34 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.7824, allocations: 3.015 MB / 1.287 GB, free: 13.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.7828, allocations: 0.7257 MB / 1.287 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.665e-05/0.7829, allocations: 22.19 kB / 1.287 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.783, allocations: 57.25 kB / 1.287 GB, free: 12.53 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.783, allocations: 4 kB / 1.287 GB, free: 12.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.8134, allocations: 6.381 MB / 1.294 GB, free: 11.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/7.83, allocations: 17.41 kB / 1.294 GB, free: 11.79 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.184815425000124]