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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 108 kB / 15.61 MB, free: 148 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.001675/0.001675, allocations: 194.5 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 64.55 kB / 0.9083 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2631, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002145/0.2653, allocations: 0.8309 MB / 1.064 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.267, allocations: 1.48 MB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.472e-05/0.2671, allocations: 7.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.2673, allocations: 19.75 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.2674, allocations: 35.7 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2686, allocations: 0.5151 MB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005774/0.2692, allocations: 495.3 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.2693, allocations: 41.47 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.2696, allocations: 183.6 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.2697, allocations: 143.6 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.2698, allocations: 48 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.27, allocations: 51.98 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.27, allocations: 39.91 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.2702, allocations: 163.5 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.2707, allocations: 411.2 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2707, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2707, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.2707, allocations: 0 / 1.068 GB, free: 10.07 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.0006833/0.2714, allocations: 0.6437 MB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2714, allocations: 8.031 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.2715, allocations: 50.73 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/0.2716, allocations: 28.75 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.2718, allocations: 261.2 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.2719, allocations: 16.38 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.2719, allocations: 32.38 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.2722, allocations: 153.2 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2722, allocations: 3.938 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2722, allocations: 7.938 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2722, allocations: 7.984 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.2723, allocations: 83.95 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007418/0.2731, allocations: 0.707 MB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.2733, allocations: 171.6 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.475e-05/0.2733, allocations: 40.84 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.2734, allocations: 4 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.2736, allocations: 159.2 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.2736, allocations: 0 / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004138/0.274, allocations: 247.5 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.2741, allocations: 55.41 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.2742, allocations: 178.8 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.2743, allocations: 41.69 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.2744, allocations: 132.4 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.2744, allocations: 35.64 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.2746, allocations: 121.5 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2747, allocations: 334.8 kB / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.275, allocations: 159.8 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.2754, allocations: 242.7 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.2758, allocations: 409.2 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2758, allocations: 0 / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008929/0.2767, allocations: 0.6201 MB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.779e-05/0.2768, allocations: 168.4 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2768, allocations: 8.062 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2768, allocations: 4 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.844e-05/0.2769, allocations: 7.938 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2769, allocations: 11.92 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007877/0.2777, allocations: 135.8 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.2777, allocations: 35.97 kB / 1.073 GB, free: 4.359 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.0001515/0.2779, allocations: 151.1 kB / 1.073 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.2779, allocations: 27.69 kB / 1.073 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.278, allocations: 21.86 kB / 1.073 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.278, allocations: 4 kB / 1.073 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.278, allocations: 0 / 1.073 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.278, allocations: 3.984 kB / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.2785, allocations: 0.5078 MB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2785, allocations: 0 / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.2785, allocations: 11.94 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2785, allocations: 0 / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2786, allocations: 8 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2786, allocations: 0 / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2786, allocations: 0 / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.2789, allocations: 283.2 kB / 1.074 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.2789, allocations: 92.86 kB / 1.074 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.279, allocations: 7.984 kB / 1.074 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.253e-05/0.279, allocations: 4 kB / 1.074 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.2791, allocations: 15.98 kB / 1.074 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.2791, allocations: 23.92 kB / 1.074 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.698e-05/0.2793, allocations: 115.2 kB / 1.074 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.683e-06/0.2793, allocations: 0 / 1.074 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003916/0.2797, allocations: 79.94 kB / 1.074 GB, free: 2.918 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.0007179/0.2804, allocations: 0.8327 MB / 1.075 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008224/0.2812, allocations: 0.6373 MB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2812, allocations: 0 / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.2813, allocations: 69.47 kB / 1.076 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.2818, allocations: 58.5 kB / 1.076 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.2856, allocations: 2.978 MB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.2858, allocations: 0.7281 MB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.569e-05/0.2859, allocations: 25.53 kB / 1.08 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.286, allocations: 51.42 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.286, allocations: 0 / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.3083, allocations: 6.33 MB / 1.086 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.546, allocations: 6.094 kB / 1.086 GB, free: 7.062 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv","/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) Reference file matches