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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.005765/0.005765, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001122/0.001122, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.919/2.919, allocations: 469.4 MB / 0.7422 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3328, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002131/0.335, allocations: 0.8336 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.3369, allocations: 1.478 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3371, allocations: 4 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.3372, allocations: 19.8 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/0.3373, allocations: 43.64 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.3388, allocations: 0.5074 MB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006426/0.3394, allocations: 0.5031 MB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3396, allocations: 41.44 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.3399, allocations: 191.7 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.3402, allocations: 163.6 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.3403, allocations: 43.94 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3404, allocations: 59.92 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.3405, allocations: 43.89 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.3407, allocations: 163.4 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.3412, allocations: 410.8 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3412, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3412, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.3412, allocations: 0 / 1.224 GB, free: 10.18 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.0009188/0.3422, allocations: 0.6514 MB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3422, allocations: 8.031 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.3423, allocations: 42.73 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.3424, allocations: 28.84 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.3427, allocations: 276.5 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3428, allocations: 16.38 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.3429, allocations: 32.38 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.3431, allocations: 155.8 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3432, allocations: 3.938 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.3432, allocations: 4 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3432, allocations: 4 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.3433, allocations: 83.94 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008866/0.3442, allocations: 0.707 MB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.3444, allocations: 175.6 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/0.3445, allocations: 40.84 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.3446, allocations: 0 / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.3448, allocations: 163.3 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.3448, allocations: 0 / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004667/0.3453, allocations: 247.1 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.3453, allocations: 55.41 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3455, allocations: 178.2 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.3456, allocations: 41.7 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3457, allocations: 128.6 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.3457, allocations: 43.66 kB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.3459, allocations: 121.6 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.346, allocations: 322.8 kB / 1.228 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.3464, allocations: 159.9 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.3467, allocations: 238.6 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.3472, allocations: 406.6 kB / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3472, allocations: 4 kB / 1.228 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009871/0.3482, allocations: 0.6268 MB / 1.229 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.3483, allocations: 168.4 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3484, allocations: 4 kB / 1.229 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3484, allocations: 4.094 kB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.609e-05/0.3484, allocations: 7.938 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3484, allocations: 7.938 kB / 1.229 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008157/0.3493, allocations: 143.9 kB / 1.229 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.3493, allocations: 31.98 kB / 1.229 GB, free: 4.457 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.0001872/0.3495, allocations: 159.5 kB / 1.229 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.3496, allocations: 23.83 kB / 1.229 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.3496, allocations: 17.88 kB / 1.229 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3496, allocations: 64 / 1.229 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3496, allocations: 4 kB / 1.229 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3496, allocations: 0 / 1.229 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.3502, allocations: 0.5045 MB / 1.23 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3502, allocations: 0 / 1.23 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.3503, allocations: 15.92 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3503, allocations: 4 kB / 1.23 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3503, allocations: 4 kB / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3503, allocations: 3.984 kB / 1.23 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3503, allocations: 4 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.3506, allocations: 279.3 kB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.3507, allocations: 92.95 kB / 1.23 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.3507, allocations: 11.92 kB / 1.23 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.3508, allocations: 7.938 kB / 1.23 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.3508, allocations: 27.92 kB / 1.23 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3509, allocations: 8 kB / 1.23 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001093/0.351, allocations: 120.2 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.351, allocations: 0 / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003923/0.3514, allocations: 72 kB / 1.231 GB, free: 3.016 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.0006456/0.352, allocations: 0.8361 MB / 1.231 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008563/0.3529, allocations: 0.614 MB / 1.232 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3529, allocations: 0 / 1.232 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.353, allocations: 75.91 kB / 1.232 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.3535, allocations: 60.47 kB / 1.232 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.3577, allocations: 3.003 MB / 1.235 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3581, allocations: 0.7281 MB / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.3582, allocations: 21.55 kB / 1.236 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.3583, allocations: 59.41 kB / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.3583, allocations: 0 / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.3848, allocations: 6.369 MB / 1.242 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.142, allocations: 6.281 kB / 1.242 GB, free: 7.109 MB / 0.9981 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