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.007167/0.007167, allocations: 99.66 kB / 15.73 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 196.8 kB / 16.68 MB, free: 5.48 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.855/2.855, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.91 kB / 1.065 GB, free: 13.52 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2984, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001883/0.3003, allocations: 0.8401 MB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3022, allocations: 1.478 MB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.3023, allocations: 4 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.3024, allocations: 19.8 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.3025, allocations: 31.66 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3037, allocations: 0.5198 MB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005759/0.3043, allocations: 0.4992 MB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3045, allocations: 41.44 kB / 1.224 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.3047, allocations: 183.7 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.3049, allocations: 171.6 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.305, allocations: 43.94 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3052, allocations: 55.92 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.366e-05/0.3052, allocations: 47.89 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.3054, allocations: 155.5 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.3059, allocations: 410.8 kB / 1.225 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3059, allocations: 0 / 1.225 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3059, allocations: 0 / 1.225 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3059, allocations: 4 kB / 1.225 GB, free: 9.777 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.0007893/0.3067, allocations: 0.6552 MB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3068, allocations: 8.031 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.3068, allocations: 46.73 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.555e-05/0.3069, allocations: 28.84 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.3072, allocations: 261.1 kB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.3073, allocations: 16.38 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-05/0.3073, allocations: 32.38 kB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.3076, allocations: 155.8 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3076, allocations: 3.938 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.3077, allocations: 7.984 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3077, allocations: 4 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.3078, allocations: 82.39 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.3087, allocations: 0.7148 MB / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.3089, allocations: 171.6 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.309, allocations: 44.83 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.309, allocations: 0 / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.3093, allocations: 157.2 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.3093, allocations: 4 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004657/0.3098, allocations: 247.5 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3099, allocations: 59.41 kB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.31, allocations: 186.2 kB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.3101, allocations: 41.7 kB / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3102, allocations: 120.6 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.3103, allocations: 47.64 kB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.3105, allocations: 113.6 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3106, allocations: 330.8 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.311, allocations: 159.9 kB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.3114, allocations: 243.5 kB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.3119, allocations: 399.7 kB / 1.229 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3119, allocations: 4 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001026/0.3129, allocations: 0.6268 MB / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.3131, allocations: 168.5 kB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.3131, allocations: 8 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3131, allocations: 4 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.668e-05/0.3131, allocations: 11.98 kB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3132, allocations: 7.938 kB / 1.23 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.314, allocations: 143.7 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.314, allocations: 31.97 kB / 1.23 GB, free: 4.051 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.0001725/0.3142, allocations: 159 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3142, allocations: 19.84 kB / 1.23 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.3143, allocations: 21.88 kB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3143, allocations: 0 / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3143, allocations: 0 / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3143, allocations: 3.984 kB / 1.23 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/0.3149, allocations: 0.4984 MB / 1.23 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3149, allocations: 0 / 1.23 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.315, allocations: 7.938 kB / 1.23 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.315, allocations: 4 kB / 1.23 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.315, allocations: 7.984 kB / 1.23 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.315, allocations: 4 kB / 1.23 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.315, allocations: 96 / 1.23 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.3153, allocations: 284.8 kB / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.3154, allocations: 96.94 kB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.3154, allocations: 7.938 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.3155, allocations: 11.94 kB / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.3156, allocations: 23.92 kB / 1.231 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3156, allocations: 4 kB / 1.231 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.352e-05/0.3157, allocations: 124.2 kB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3157, allocations: 0 / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000371/0.3161, allocations: 79.98 kB / 1.231 GB, free: 2.605 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.0006756/0.3167, allocations: 0.8291 MB / 1.232 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008051/0.3176, allocations: 0.6179 MB / 1.232 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3176, allocations: 4 kB / 1.232 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.3177, allocations: 75.91 kB / 1.233 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.3181, allocations: 44.66 kB / 1.233 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.3221, allocations: 3.009 MB / 1.235 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.3224, allocations: 0.7281 MB / 1.236 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.255e-05/0.3225, allocations: 21.55 kB / 1.236 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.532e-05/0.3226, allocations: 59.41 kB / 1.236 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.3226, allocations: 3.938 kB / 1.236 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.3511, allocations: 6.365 MB / 1.242 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.031, allocations: 0 / 1.242 GB, free: 6.711 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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