Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001828/0.001828, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002255/0.002255, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.353/3.353, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) [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.0021/0.0021, allocations: 72.25 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3511, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002239/0.3533, allocations: 0.8205 MB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.3556, allocations: 1.521 MB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.802e-05/0.3557, allocations: 0 / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.3558, allocations: 19.8 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.996e-05/0.3559, allocations: 43.62 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.3572, allocations: 0.5188 MB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006911/0.3579, allocations: 475.2 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3581, allocations: 29.67 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.3584, allocations: 187.7 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.3587, allocations: 175.5 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.126e-05/0.3588, allocations: 47.94 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3589, allocations: 59.94 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.359, allocations: 43.89 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.3592, allocations: 159.5 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.3597, allocations: 415 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3597, allocations: 0 / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3597, allocations: 0 / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.3597, allocations: 0 / 1.357 GB, free: 3.945 MB / 1.045 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.0008393/0.3606, allocations: 0.5761 MB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3606, allocations: 12.03 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.3606, allocations: 46.73 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.967e-05/0.3607, allocations: 28.84 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.3611, allocations: 206.1 kB / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.3611, allocations: 16.38 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.3612, allocations: 36.36 kB / 1.358 GB, free: 2.934 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.3615, allocations: 163.6 kB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3615, allocations: 3.938 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3615, allocations: 4 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3615, allocations: 8 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.3617, allocations: 83.81 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009376/0.3626, allocations: 0.6673 MB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3628, allocations: 94.48 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.3629, allocations: 40.83 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3629, allocations: 4 kB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/0.3631, allocations: 157.4 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.3631, allocations: 4 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0004502/0.3636, allocations: 233.4 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.3637, allocations: 63.39 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3638, allocations: 186.9 kB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.3639, allocations: 37.7 kB / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.364, allocations: 128.7 kB / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.364, allocations: 35.73 kB / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.3642, allocations: 113.6 kB / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3644, allocations: 330.8 kB / 1.36 GB, free: 484 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.3647, allocations: 159.9 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.3651, allocations: 242.1 kB / 1.361 GB, free: 44 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.3656, allocations: 406.6 kB / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3656, allocations: 0 / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00104/0.3667, allocations: 0.6344 MB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.3668, allocations: 164.5 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3668, allocations: 3.938 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3668, allocations: 4.344 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.66e-05/0.3669, allocations: 19.98 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.3669, allocations: 7.938 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.3676, allocations: 135.7 kB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.3677, allocations: 27.97 kB / 1.362 GB, free: 14.52 MB / 1.061 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.0001893/0.3679, allocations: 159.1 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.3679, allocations: 23.8 kB / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.368, allocations: 25.73 kB / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.368, allocations: 0 / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.368, allocations: 0 / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.368, allocations: 4 kB / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.3686, allocations: 491.1 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3686, allocations: 0 / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.3686, allocations: 7.938 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3686, allocations: 7.984 kB / 1.363 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3687, allocations: 4 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3687, allocations: 0 / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3687, allocations: 4 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.369, allocations: 285.1 kB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.369, allocations: 23.89 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.369, allocations: 0 / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.3691, allocations: 11.94 kB / 1.363 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.3692, allocations: 15.97 kB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3692, allocations: 11.98 kB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001127/0.3693, allocations: 127.5 kB / 1.363 GB, free: 13.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3693, allocations: 0 / 1.363 GB, free: 13.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003653/0.3697, allocations: 83.89 kB / 1.363 GB, free: 13.19 MB / 1.061 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.0006612/0.3703, allocations: 0.827 MB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007684/0.3711, allocations: 0.548 MB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3711, allocations: 4.188 kB / 1.365 GB, free: 11.72 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3712, allocations: 63.91 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.3716, allocations: 53.55 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.3757, allocations: 3.021 MB / 1.368 GB, free: 8.406 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.376, allocations: 0.7242 MB / 1.368 GB, free: 7.652 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.422e-05/0.3761, allocations: 21.48 kB / 1.369 GB, free: 7.633 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.3762, allocations: 55.42 kB / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3762, allocations: 0 / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.4132, allocations: 6.577 MB / 1.375 GB, free: 1.184 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.74, allocations: 17.83 kB / 1.375 GB, free: 1.172 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.705230474006385]