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.001545/0.001545, 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.001457/0.001457, allocations: 213.3 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.977 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.733/2.733, allocations: 476.7 MB / 0.7707 GB, free: 4.289 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.002114/0.002114, allocations: 66.09 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3085, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002256/0.3107, allocations: 0.8436 MB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002242/0.313, allocations: 1.511 MB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.3131, allocations: 3.938 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.3132, allocations: 19.8 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.859e-05/0.3133, allocations: 35.72 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.3148, allocations: 0.5199 MB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007855/0.3155, allocations: 487.1 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.3157, allocations: 29.67 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.3161, allocations: 183.7 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.3164, allocations: 175.5 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.3165, allocations: 40 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.3167, allocations: 55.98 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.243e-05/0.3167, allocations: 47.83 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.317, allocations: 155.5 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007503/0.3177, allocations: 414.3 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3177, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3177, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.3177, allocations: 4 kB / 1.288 GB, free: 7.242 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.0009605/0.3187, allocations: 0.5838 MB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3188, allocations: 8.031 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.131e-05/0.3188, allocations: 46.73 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.3189, allocations: 28.84 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.3194, allocations: 207.4 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.3194, allocations: 16.38 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.731e-05/0.3195, allocations: 32.38 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.3199, allocations: 157 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3199, allocations: 3.938 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.3199, allocations: 7.984 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.32, allocations: 4 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.3202, allocations: 87.75 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.3214, allocations: 0.6673 MB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.3217, allocations: 90.55 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3218, allocations: 36.84 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.3218, allocations: 8.172 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003967/0.3222, allocations: 152.7 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.3222, allocations: 8 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0006775/0.3229, allocations: 247.7 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.323, allocations: 59.34 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.3232, allocations: 190.7 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.593e-05/0.3233, allocations: 37.7 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3234, allocations: 132.6 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.3235, allocations: 39.69 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.3238, allocations: 117.6 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002572/0.3241, allocations: 326.8 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.3245, allocations: 159.9 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/0.3251, allocations: 239.9 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/0.3258, allocations: 414.1 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3258, allocations: 0 / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001553/0.3274, allocations: 0.6268 MB / 1.292 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.3275, allocations: 164.4 kB / 1.292 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.3275, allocations: 4 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.3276, allocations: 4 kB / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.3276, allocations: 11.94 kB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.3276, allocations: 7.984 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.3287, allocations: 139.7 kB / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/0.3288, allocations: 31.98 kB / 1.293 GB, free: 1.816 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.000364/0.3291, allocations: 159 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.3292, allocations: 19.84 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.3293, allocations: 25.8 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3293, allocations: 0 / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3293, allocations: 0 / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3293, allocations: 3.984 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009588/0.3302, allocations: 489.3 kB / 1.293 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3302, allocations: 4 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.3303, allocations: 0 / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3303, allocations: 4 kB / 1.293 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3303, allocations: 12.05 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3303, allocations: 4 kB / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3303, allocations: 4 kB / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.3307, allocations: 285.5 kB / 1.294 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.3308, allocations: 11.91 kB / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.3308, allocations: 3.984 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.3309, allocations: 8 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.331, allocations: 19.97 kB / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.331, allocations: 8 kB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000125/0.3311, allocations: 127.2 kB / 1.294 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3311, allocations: 0 / 1.294 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006121/0.3317, allocations: 79.89 kB / 1.294 GB, free: 0.5 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.001012/0.3328, allocations: 0.826 MB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.334, allocations: 0.557 MB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.334, allocations: 0 / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.3342, allocations: 67.89 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.3348, allocations: 42.69 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.3407, allocations: 3.017 MB / 1.298 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.3411, allocations: 0.7281 MB / 1.299 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.3413, allocations: 25.47 kB / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3414, allocations: 55.42 kB / 1.299 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/0.3414, allocations: 0 / 1.299 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04378/0.3851, allocations: 6.602 MB / 1.306 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.87, allocations: 7.859 kB / 1.306 GB, free: 4.477 MB / 0.9981 GB " [Timeout remaining time 288] (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.359306922880933]