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.001624/0.001624, allocations: 107.6 kB / 16.45 MB, free: 6.508 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.001744/0.001744, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.817/2.817, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 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.003381/0.003381, allocations: 63.91 kB / 1.104 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.842, allocations: 168.7 MB / 1.269 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002121/0.8441, allocations: 0.8362 MB / 1.27 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.8461, allocations: 1.484 MB / 1.271 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.8462, allocations: 8 kB / 1.271 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.8464, allocations: 15.8 kB / 1.271 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.8464, allocations: 35.7 kB / 1.271 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.8478, allocations: 0.5221 MB / 1.272 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006208/0.8484, allocations: 479.2 kB / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.8486, allocations: 37.42 kB / 1.272 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.8488, allocations: 179.7 kB / 1.272 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.8491, allocations: 175.5 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.799e-05/0.8492, allocations: 40 kB / 1.272 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.8493, allocations: 55.98 kB / 1.273 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.8493, allocations: 47.84 kB / 1.273 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.8495, allocations: 155.5 kB / 1.273 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.85, allocations: 416.5 kB / 1.273 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.85, allocations: 3.938 kB / 1.273 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.984e-06/0.85, allocations: 0 / 1.273 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.8501, allocations: 0 / 1.273 GB, free: 0.7617 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.0009617/0.851, allocations: 0.6514 MB / 1.274 GB, free: 28 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.8511, allocations: 8.031 kB / 1.274 GB, free: 20 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.249e-05/0.8511, allocations: 54.67 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.263e-05/0.8512, allocations: 32.84 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.8516, allocations: 260.6 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.8516, allocations: 20.36 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.8517, allocations: 28.38 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.852, allocations: 150.5 kB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.852, allocations: 3.938 kB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.852, allocations: 8 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.852, allocations: 4 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.8521, allocations: 83.88 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009531/0.8531, allocations: 0.7109 MB / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.8533, allocations: 163.6 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.8534, allocations: 44.78 kB / 1.275 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.8534, allocations: 4 kB / 1.275 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/0.8538, allocations: 151.2 kB / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.8538, allocations: 0 / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004999/0.8543, allocations: 248.1 kB / 1.276 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.8543, allocations: 59.41 kB / 1.276 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.8545, allocations: 182.3 kB / 1.276 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.8546, allocations: 45.7 kB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.8547, allocations: 120.6 kB / 1.276 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.8547, allocations: 51.62 kB / 1.276 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.8549, allocations: 113.6 kB / 1.276 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.8551, allocations: 330.8 kB / 1.277 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.8554, allocations: 151.9 kB / 1.277 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.8558, allocations: 250 kB / 1.277 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.8564, allocations: 399.7 kB / 1.277 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8564, allocations: 4 kB / 1.277 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00102/0.8574, allocations: 0.6282 MB / 1.278 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.8575, allocations: 166.6 kB / 1.278 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.8575, allocations: 4 kB / 1.278 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.8576, allocations: 7.984 kB / 1.278 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.65e-05/0.8576, allocations: 11.94 kB / 1.278 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.8576, allocations: 8.328 kB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/0.8583, allocations: 139.6 kB / 1.278 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.8584, allocations: 35.97 kB / 1.278 GB, free: 11.04 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,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.0001924/0.8586, allocations: 163.1 kB / 1.278 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.8586, allocations: 15.84 kB / 1.278 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.8587, allocations: 21.95 kB / 1.278 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.8587, allocations: 7.938 kB / 1.278 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8587, allocations: 3.938 kB / 1.278 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.8587, allocations: 0 / 1.278 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.8593, allocations: 0.5063 MB / 1.279 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8593, allocations: 0 / 1.279 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.8593, allocations: 11.92 kB / 1.279 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8594, allocations: 3.938 kB / 1.279 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.8594, allocations: 7.984 kB / 1.279 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.8594, allocations: 0 / 1.279 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8594, allocations: 0 / 1.279 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.8597, allocations: 284.8 kB / 1.279 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.8598, allocations: 96.95 kB / 1.279 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.8598, allocations: 8 kB / 1.279 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.524e-05/0.8599, allocations: 3.984 kB / 1.279 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.8599, allocations: 23.94 kB / 1.279 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.86, allocations: 11.98 kB / 1.279 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001001/0.8601, allocations: 120.2 kB / 1.279 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8601, allocations: 4 kB / 1.279 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000355/0.8604, allocations: 76 kB / 1.28 GB, free: 9.586 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 (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.0008079/0.8612, allocations: 0.8358 MB / 1.28 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008597/0.8621, allocations: 0.5514 MB / 1.281 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8621, allocations: 0.6875 kB / 1.281 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.8622, allocations: 63.91 kB / 1.281 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.8627, allocations: 57.25 kB / 1.281 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.8672, allocations: 3.012 MB / 1.284 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.8676, allocations: 0.7203 MB / 1.285 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.325e-05/0.8677, allocations: 25.53 kB / 1.285 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/0.8678, allocations: 55.42 kB / 1.285 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of SimCode: time 1.052e-06/0.8678, allocations: 0 / 1.285 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.9011, allocations: 6.395 MB / 1.291 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/9.24, allocations: 13.28 kB / 1.291 GB, free: 13.73 MB / 0.9981 GB " [Timeout remaining time 291] (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 --stepSize=0.004 --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_2/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: 15.385370925068855]