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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.000954/0.0009539, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006396/0.006396, allocations: 172.9 kB / 16.27 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 462.6 MB / 0.7364 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003938, allocations: 11.25 kB / 0.9029 GB, free: 36.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3339, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.0009854/0.3349, allocations: 0.5557 MB / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3368, allocations: 1.533 MB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.3369, allocations: 3.938 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.877e-05/0.337, allocations: 19.86 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.3371, allocations: 27.77 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3383, allocations: 495 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.3388, allocations: 419.2 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.339, allocations: 45.47 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.3393, allocations: 163.6 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.3395, allocations: 127.6 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.709e-05/0.3396, allocations: 20 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3397, allocations: 35.98 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.3397, allocations: 31.91 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.3399, allocations: 165.2 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.3403, allocations: 391.1 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3404, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3404, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3404, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 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.0006576/0.341, allocations: 0.5698 MB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3411, allocations: 11.97 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.96e-05/0.3412, allocations: 46.73 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3413, allocations: 32.69 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.3416, allocations: 256 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.3416, allocations: 20.36 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.61e-05/0.3417, allocations: 28.38 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.342, allocations: 149.4 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.342, allocations: 7.875 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.342, allocations: 12 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.342, allocations: 7.984 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3422, allocations: 79.95 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.343, allocations: 0.7032 MB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.3432, allocations: 175.6 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/0.3433, allocations: 40.84 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.3433, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.3436, allocations: 156.9 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.3436, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004512/0.3441, allocations: 251 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3441, allocations: 63.39 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3443, allocations: 175.8 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.3443, allocations: 41.7 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3444, allocations: 124.5 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.3445, allocations: 51.38 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.3446, allocations: 57.69 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3447, allocations: 322.8 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.345, allocations: 155.9 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.3454, allocations: 242.1 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.3458, allocations: 408.8 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3458, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009553/0.3468, allocations: 0.6172 MB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.3469, allocations: 172.4 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3469, allocations: 3.938 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.347, allocations: 4.062 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.512e-05/0.347, allocations: 15.94 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.347, allocations: 7.938 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008791/0.3479, allocations: 196 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/0.348, allocations: 31.97 kB / 1.068 GB, free: 11.3 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.0001633/0.3481, allocations: 163 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.3482, allocations: 15.75 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.3482, allocations: 21.86 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3482, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3482, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3482, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.3488, allocations: 0.5061 MB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3488, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.3488, allocations: 11.92 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3488, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3488, allocations: 4 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3488, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3488, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.3491, allocations: 288.6 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.3492, allocations: 92.86 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.3492, allocations: 8 kB / 1.069 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.561e-05/0.3493, allocations: 3.984 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.3493, allocations: 15.98 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.3494, allocations: 15.98 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.145e-05/0.3494, allocations: 119.2 kB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3495, allocations: 7.938 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003758/0.3498, allocations: 72 kB / 1.069 GB, free: 9.867 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.0006229/0.3505, allocations: 0.8268 MB / 1.07 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007531/0.3512, allocations: 0.6217 MB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3512, allocations: 0 / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.3514, allocations: 83.84 kB / 1.071 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3518, allocations: 42.42 kB / 1.071 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.3556, allocations: 3.032 MB / 1.074 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3559, allocations: 0.7245 MB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.99e-05/0.356, allocations: 25.53 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.3561, allocations: 55.42 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of SimCode: time 2.044e-06/0.3561, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.375, allocations: 5.915 MB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.3752, allocations: 216.6 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.301, allocations: 0 / 1.08 GB, free: 14.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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