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.005875/0.005875, allocations: 100.2 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.001472/0.001472, allocations: 197.3 kB / 16.67 MB, free: 5.93 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.637/2.637, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 1.054 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8853/0.8867, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002756/0.8895, allocations: 0.8215 MB / 1.208 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.8919, allocations: 1.494 MB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.8921, allocations: 0 / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.8922, allocations: 15.8 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.8924, allocations: 27.72 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.8938, allocations: 0.5274 MB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000708/0.8945, allocations: 0.5031 MB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.8947, allocations: 45.44 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.895, allocations: 183.7 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.8953, allocations: 171.6 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.8955, allocations: 40 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.8956, allocations: 55.98 kB / 1.211 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.8957, allocations: 39.84 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.8959, allocations: 163.5 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.8963, allocations: 417.1 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.8964, allocations: 4 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8964, allocations: 4 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8964, allocations: 0 / 1.212 GB, free: 9.059 MB / 0.9356 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.0007716/0.8972, allocations: 0.6321 MB / 1.212 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8972, allocations: 12.03 kB / 1.212 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.8973, allocations: 46.73 kB / 1.212 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.322e-05/0.8974, allocations: 28.75 kB / 1.212 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.8977, allocations: 265.1 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.8977, allocations: 16.38 kB / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.8978, allocations: 28.38 kB / 1.213 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.8981, allocations: 156.7 kB / 1.213 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.8981, allocations: 3.938 kB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.8981, allocations: 8 kB / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.8981, allocations: 3.938 kB / 1.213 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.8983, allocations: 87.88 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/0.8992, allocations: 0.707 MB / 1.214 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.8994, allocations: 163.7 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.8995, allocations: 44.84 kB / 1.214 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.8995, allocations: 192 / 1.214 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.8998, allocations: 164.8 kB / 1.214 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.8998, allocations: 0 / 1.214 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.000453/0.9002, allocations: 247.1 kB / 1.214 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.9003, allocations: 59.39 kB / 1.214 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.9005, allocations: 190.6 kB / 1.214 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.9005, allocations: 37.7 kB / 1.214 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.9006, allocations: 132.4 kB / 1.215 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.9007, allocations: 35.52 kB / 1.215 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.9009, allocations: 121.6 kB / 1.215 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.901, allocations: 326.8 kB / 1.215 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.9013, allocations: 155.9 kB / 1.215 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.9016, allocations: 238.1 kB / 1.215 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.9021, allocations: 410.1 kB / 1.216 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.9021, allocations: 0 / 1.216 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009123/0.903, allocations: 0.6227 MB / 1.216 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.9031, allocations: 164.4 kB / 1.217 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9031, allocations: 4 kB / 1.217 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.9032, allocations: 4.062 kB / 1.217 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.679e-05/0.9032, allocations: 19.94 kB / 1.217 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.9032, allocations: 4 kB / 1.217 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.9039, allocations: 135.8 kB / 1.217 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.904, allocations: 31.98 kB / 1.217 GB, free: 3.363 MB / 0.9356 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.0001594/0.9042, allocations: 155.1 kB / 1.217 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.9042, allocations: 23.73 kB / 1.217 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.9042, allocations: 17.88 kB / 1.217 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.9042, allocations: 4 kB / 1.217 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9043, allocations: 0 / 1.217 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.9043, allocations: 0 / 1.217 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.9048, allocations: 0.5177 MB / 1.217 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9048, allocations: 0 / 1.217 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.9048, allocations: 4 kB / 1.217 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9048, allocations: 0 / 1.217 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.9048, allocations: 12.09 kB / 1.217 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.9048, allocations: 7.922 kB / 1.217 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9049, allocations: 0 / 1.217 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.9051, allocations: 285.4 kB / 1.218 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.9052, allocations: 88.92 kB / 1.218 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.9052, allocations: 7.984 kB / 1.218 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.9053, allocations: 4 kB / 1.218 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.9053, allocations: 23.91 kB / 1.218 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.9054, allocations: 16 kB / 1.218 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.098e-05/0.9054, allocations: 111.2 kB / 1.218 GB, free: 2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9055, allocations: 4 kB / 1.218 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003784/0.9058, allocations: 79.94 kB / 1.218 GB, free: 1.918 MB / 0.9356 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.0006107/0.9065, allocations: 0.8371 MB / 1.219 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007273/0.9072, allocations: 0.6104 MB / 1.219 GB, free: 396 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.9072, allocations: 4 kB / 1.22 GB, free: 392 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.9073, allocations: 71.91 kB / 1.22 GB, free: 320 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.9078, allocations: 56.55 kB / 1.22 GB, free: 264 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.9114, allocations: 2.991 MB / 1.223 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.9117, allocations: 0.7281 MB / 1.223 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.562e-05/0.9118, allocations: 21.48 kB / 1.223 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.9119, allocations: 59.41 kB / 1.223 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of SimCode: time 7.42e-07/0.9119, allocations: 0 / 1.223 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.937, allocations: 6.521 MB / 1.23 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/8.583, allocations: 9.797 kB / 1.23 GB, free: 5.887 MB / 0.9512 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