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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 197.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.679/2.679, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 71.97 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2672, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002254/0.2695, allocations: 0.8196 MB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.2714, allocations: 1.484 MB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.829e-05/0.2715, allocations: 4 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.2716, allocations: 19.75 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.143e-05/0.2717, allocations: 31.7 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.273, allocations: 0.5105 MB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006343/0.2737, allocations: 0.4953 MB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2738, allocations: 41.48 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.2741, allocations: 187.6 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.2743, allocations: 143.6 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-05/0.2744, allocations: 40 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.2745, allocations: 51.98 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.2746, allocations: 39.89 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.2748, allocations: 163.5 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.2752, allocations: 407.2 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2752, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2752, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.2752, allocations: 4 kB / 1.068 GB, free: 9.77 MB / 0.8262 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.0007802/0.276, allocations: 0.6476 MB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2761, allocations: 12.02 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.2761, allocations: 46.75 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.356e-05/0.2762, allocations: 32.73 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.2765, allocations: 256.7 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.2766, allocations: 24.31 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.2766, allocations: 28.38 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.2769, allocations: 153.2 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2769, allocations: 7.938 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.2769, allocations: 7.984 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.277, allocations: 4 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.2771, allocations: 79.89 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.278, allocations: 0.7109 MB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.2782, allocations: 167.6 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.334e-05/0.2782, allocations: 44.84 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.2783, allocations: 0 / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.2785, allocations: 163.2 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.2785, allocations: 0 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004419/0.279, allocations: 247.2 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.279, allocations: 55.41 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.2792, allocations: 183.3 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.2793, allocations: 41.69 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2794, allocations: 132.4 kB / 1.071 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.2794, allocations: 39.55 kB / 1.071 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.2796, allocations: 121.5 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2797, allocations: 326.8 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.2801, allocations: 155.8 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.2804, allocations: 238.2 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.2809, allocations: 412.7 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2809, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009724/0.2819, allocations: 0.6199 MB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.282, allocations: 164.4 kB / 1.073 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.282, allocations: 4 kB / 1.073 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.282, allocations: 4 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.835e-05/0.2821, allocations: 7.938 kB / 1.073 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2821, allocations: 7.984 kB / 1.073 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007976/0.2829, allocations: 148 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.2829, allocations: 31.98 kB / 1.074 GB, free: 4.059 MB / 0.8262 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.000166/0.2831, allocations: 163 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.2831, allocations: 19.73 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.2832, allocations: 17.88 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2832, allocations: 4 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2832, allocations: 0 / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2832, allocations: 0 / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.2838, allocations: 0.5118 MB / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2838, allocations: 4 kB / 1.074 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.2838, allocations: 7.938 kB / 1.074 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2838, allocations: 0 / 1.074 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2838, allocations: 8 kB / 1.074 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2838, allocations: 3.984 kB / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2838, allocations: 0 / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.2841, allocations: 281.2 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.2842, allocations: 96.86 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.2842, allocations: 11.98 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.2843, allocations: 4 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.2843, allocations: 19.97 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2844, allocations: 12 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.37e-05/0.2844, allocations: 115.2 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2844, allocations: 4 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003345/0.2848, allocations: 76 kB / 1.075 GB, free: 2.617 MB / 0.8262 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.0006365/0.2854, allocations: 0.8304 MB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007691/0.2862, allocations: 0.6314 MB / 1.076 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2862, allocations: 0 / 1.076 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.2863, allocations: 80.53 kB / 1.076 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.2867, allocations: 51.89 kB / 1.076 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.2904, allocations: 2.98 MB / 1.079 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.2907, allocations: 0.7281 MB / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.225e-05/0.2908, allocations: 25.53 kB / 1.08 GB, free: 13 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.2909, allocations: 55.42 kB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.2909, allocations: 0 / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9523/1.243, allocations: 6.322 MB / 1.086 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.97, allocations: 8.875 kB / 1.086 GB, free: 6.754 MB / 0.8419 GB (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) 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) Reference file matches