Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_10_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.001122/0.001122, 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.001251/0.001251, allocations: 193.7 kB / 16.53 MB, free: 6.691 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 71.88 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8124/0.814, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002733/0.8167, allocations: 0.8211 MB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.819, allocations: 1.487 MB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.8192, allocations: 4 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.8194, allocations: 19.75 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.8195, allocations: 31.7 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.8212, allocations: 0.5054 MB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008422/0.8221, allocations: 0.4992 MB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.8223, allocations: 41.47 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.8226, allocations: 187.6 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.8229, allocations: 143.6 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.8231, allocations: 40 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.8233, allocations: 51.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.8234, allocations: 39.89 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.8237, allocations: 163.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.8243, allocations: 409.1 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8243, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8243, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.8243, allocations: 8 kB / 1.022 GB, free: 14.03 MB / 0.7794 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.001067/0.8254, allocations: 0.6398 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.8255, allocations: 12.02 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.873e-05/0.8255, allocations: 50.69 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.8257, allocations: 40.64 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.8261, allocations: 259.9 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.8262, allocations: 20.38 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.583e-05/0.8263, allocations: 28.38 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.8266, allocations: 152.5 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.8266, allocations: 3.938 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.8266, allocations: 7.984 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.8267, allocations: 4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.8269, allocations: 79.89 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.8279, allocations: 0.7071 MB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.8282, allocations: 167.6 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.985e-05/0.8283, allocations: 44.84 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.8283, allocations: 7.984 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.8286, allocations: 152.6 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 2.325e-06/0.8286, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0005292/0.8291, allocations: 251 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.8292, allocations: 55.41 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.8293, allocations: 191.7 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/0.8294, allocations: 41.7 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.8295, allocations: 124.5 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.8296, allocations: 39.52 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.8298, allocations: 117.6 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8299, allocations: 326.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.8303, allocations: 151.9 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.8307, allocations: 238.9 kB / 1.026 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.8312, allocations: 408.3 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8312, allocations: 0 / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001025/0.8322, allocations: 0.6281 MB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.8324, allocations: 168.4 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.8324, allocations: 7.984 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.8324, allocations: 4 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/0.8325, allocations: 7.938 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.8325, allocations: 8.328 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008943/0.8334, allocations: 151.6 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.8335, allocations: 31.98 kB / 1.027 GB, free: 8.32 MB / 0.7794 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.0002183/0.8337, allocations: 159.1 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.8337, allocations: 19.73 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.8338, allocations: 17.88 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8338, allocations: 4 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.8338, allocations: 0 / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.8338, allocations: 0 / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006124/0.8345, allocations: 0.5154 MB / 1.028 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8345, allocations: 4.062 kB / 1.028 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.8345, allocations: 7.938 kB / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8345, allocations: 0 / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.8345, allocations: 8 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.8345, allocations: 3.984 kB / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8345, allocations: 0 / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.8349, allocations: 275.2 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.8349, allocations: 96.92 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.835, allocations: 7.984 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.401e-05/0.835, allocations: 4 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.8351, allocations: 19.97 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.8351, allocations: 8 kB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.958e-05/0.8352, allocations: 115.2 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8352, allocations: 4 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003792/0.8356, allocations: 83.84 kB / 1.028 GB, free: 6.891 MB / 0.7794 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.0007281/0.8363, allocations: 0.8365 MB / 1.029 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000825/0.8372, allocations: 0.6256 MB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8372, allocations: 0.6875 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.8373, allocations: 81.8 kB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.8377, allocations: 45.94 kB / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.8418, allocations: 2.99 MB / 1.033 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.8421, allocations: 0.7245 MB / 1.033 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.503e-05/0.8422, allocations: 25.53 kB / 1.033 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.8423, allocations: 59.42 kB / 1.033 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of SimCode: time 4.8e-07/0.8423, allocations: 4 kB / 1.033 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.8668, allocations: 6.311 MB / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.643, allocations: 16.34 kB / 1.04 GB, free: 11.01 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches