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.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.001293/0.001293, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001568/0.001568, allocations: 214.6 kB / 22.25 MB, free: 4.855 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.85/2.85, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> 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: 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.002166/0.002166, allocations: 71.75 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3664, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002482/0.3689, allocations: 0.7949 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.3712, allocations: 1.5 MB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.3713, allocations: 4 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.3715, allocations: 15.8 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.742e-05/0.3716, allocations: 35.7 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.3731, allocations: 0.5205 MB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007049/0.3738, allocations: 475.2 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.3739, allocations: 29.19 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.3742, allocations: 183.7 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.3746, allocations: 155.5 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.3747, allocations: 40 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3748, allocations: 48 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/0.3749, allocations: 51.83 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.3751, allocations: 147.6 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.3757, allocations: 416.4 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3757, allocations: 4 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3757, allocations: 0 / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3757, allocations: 0 / 1.287 GB, free: 8.051 MB / 0.9825 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.0009612/0.3767, allocations: 0.5683 MB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3767, allocations: 8.031 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.3768, allocations: 42.73 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.3769, allocations: 36.8 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.3773, allocations: 203.4 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.3773, allocations: 24.36 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/0.3774, allocations: 36.31 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.3777, allocations: 150.3 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3777, allocations: 3.938 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.3777, allocations: 4 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3777, allocations: 4 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.3779, allocations: 91.72 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009698/0.3788, allocations: 0.5894 MB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.3791, allocations: 94.67 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.3791, allocations: 48.77 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3791, allocations: 4 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.3795, allocations: 155.3 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.983e-06/0.3795, allocations: 0 / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0005194/0.38, allocations: 247 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.3801, allocations: 59.39 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.3802, allocations: 190.7 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.3803, allocations: 41.7 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.3804, allocations: 128.6 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.3805, allocations: 43.73 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.3807, allocations: 113.6 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.3809, allocations: 330.8 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.3813, allocations: 308.4 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.3818, allocations: 386.7 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.3824, allocations: 416 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3824, allocations: 0 / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001199/0.3836, allocations: 0.781 MB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.3837, allocations: 166.6 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.3837, allocations: 3.984 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.3837, allocations: 4 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.829e-05/0.3838, allocations: 11.94 kB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3838, allocations: 4 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/0.3846, allocations: 139.8 kB / 1.292 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.3846, allocations: 31.97 kB / 1.292 GB, free: 2.172 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.0002429/0.3849, allocations: 159.1 kB / 1.292 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.3849, allocations: 23.78 kB / 1.292 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.385, allocations: 25.8 kB / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.385, allocations: 0 / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.385, allocations: 0 / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.385, allocations: 0 / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.3856, allocations: 487.5 kB / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3856, allocations: 0 / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.3856, allocations: 7.938 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3856, allocations: 0 / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.3857, allocations: 11.98 kB / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3857, allocations: 0 / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3857, allocations: 0 / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.386, allocations: 283.3 kB / 1.293 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.386, allocations: 15.91 kB / 1.293 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.386, allocations: 4.078 kB / 1.293 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.3861, allocations: 15.94 kB / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.3862, allocations: 15.97 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.3862, allocations: 8 kB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001081/0.3863, allocations: 123.2 kB / 1.293 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3863, allocations: 0 / 1.293 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003945/0.3867, allocations: 83.89 kB / 1.293 GB, free: 0.8594 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.0008029/0.3875, allocations: 0.8286 MB / 1.294 GB, free: 8 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009964/0.3885, allocations: 0.6965 MB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3885, allocations: 0 / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.3886, allocations: 63.91 kB / 1.295 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.3891, allocations: 52.64 kB / 1.295 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005255/0.3943, allocations: 3.625 MB / 1.298 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.3945, allocations: 116.1 kB / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.459e-05/0.3946, allocations: 21.48 kB / 1.299 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3947, allocations: 55.42 kB / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.3947, allocations: 0 / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04172/0.4364, allocations: 7.557 MB / 1.306 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.88, allocations: 7.531 kB / 1.306 GB, free: 3.648 MB / 0.9981 GB " [Timeout remaining time 287] (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/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: 18.659687752835453]