Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_9_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.0009014/0.0009015, allocations: 98.03 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.005075/0.005075, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7935/0.7939, allocations: 142.4 MB / 0.9552 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001063/0.7951, allocations: 0.5419 MB / 0.9557 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.7969, allocations: 1.533 MB / 0.9572 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.797, allocations: 5.094 kB / 0.9572 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.7971, allocations: 9.094 kB / 0.9572 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.7972, allocations: 23.44 kB / 0.9572 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.7983, allocations: 493.2 kB / 0.9577 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004333/0.7987, allocations: 423.4 kB / 0.9581 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.7989, allocations: 38.3 kB / 0.9582 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.7991, allocations: 160 kB / 0.9583 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.7992, allocations: 126.4 kB / 0.9584 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.067e-05/0.7993, allocations: 26.09 kB / 0.9585 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.7994, allocations: 35.23 kB / 0.9585 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.7995, allocations: 40.38 kB / 0.9585 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.7997, allocations: 162.9 kB / 0.9587 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.8001, allocations: 386.9 kB / 0.9591 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8001, allocations: 0 / 0.9591 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8001, allocations: 1 kB / 0.9591 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8001, allocations: 0 / 0.9591 GB, free: 4.777 MB / 0.7169 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.0005944/0.8007, allocations: 0.5758 MB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.8007, allocations: 14.38 kB / 0.9596 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.8008, allocations: 38.59 kB / 0.9597 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.8009, allocations: 31.95 kB / 0.9597 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.8012, allocations: 263.6 kB / 0.9599 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.8012, allocations: 16.56 kB / 0.96 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-05/0.8013, allocations: 29.12 kB / 0.96 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.8016, allocations: 154 kB / 0.9601 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.8016, allocations: 9.25 kB / 0.9601 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.8016, allocations: 5.359 kB / 0.9602 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.8016, allocations: 6.75 kB / 0.9602 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.8018, allocations: 83.89 kB / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.8026, allocations: 0.7092 MB / 0.9609 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.8028, allocations: 174.2 kB / 0.9611 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.808e-05/0.8029, allocations: 42.09 kB / 0.9611 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.8029, allocations: 8.969 kB / 0.9611 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.8032, allocations: 160.5 kB / 0.9613 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.143e-06/0.8032, allocations: 0 / 0.9613 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0005105/0.8037, allocations: 247.3 kB / 0.9615 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.8038, allocations: 54.94 kB / 0.9616 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.804, allocations: 183 kB / 0.9618 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.804, allocations: 42.73 kB / 0.9618 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.8041, allocations: 123 kB / 0.9619 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.8042, allocations: 38.77 kB / 0.962 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.8043, allocations: 55.97 kB / 0.962 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.8044, allocations: 331.2 kB / 0.9623 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.8047, allocations: 153.9 kB / 0.9625 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.8051, allocations: 237.5 kB / 0.9627 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.8056, allocations: 412.8 kB / 0.9631 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8056, allocations: 1.281 kB / 0.9631 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009859/0.8066, allocations: 0.6189 MB / 0.9637 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.6e-05/0.8067, allocations: 166.5 kB / 0.9639 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8067, allocations: 6.688 kB / 0.9639 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.8067, allocations: 4.031 kB / 0.9639 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.648e-05/0.8067, allocations: 16.98 kB / 0.9639 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.8068, allocations: 4.031 kB / 0.9639 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000965/0.8077, allocations: 201.9 kB / 0.9641 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.8078, allocations: 34 kB / 0.9641 GB, free: 0.5664 MB / 0.7169 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.0001734/0.808, allocations: 154.3 kB / 0.9643 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.808, allocations: 19.44 kB / 0.9643 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.8081, allocations: 16.53 kB / 0.9643 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8081, allocations: 6.125 kB / 0.9643 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.8081, allocations: 1.188 kB / 0.9643 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8081, allocations: 11.92 kB / 0.9643 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.8086, allocations: 0.5037 MB / 0.9648 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8087, allocations: 0 / 0.9648 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.8087, allocations: 8.594 kB / 0.9648 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.8087, allocations: 0 / 0.9648 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.8087, allocations: 10.55 kB / 0.9648 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8087, allocations: 3.562 kB / 0.9648 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8087, allocations: 0 / 0.9648 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.809, allocations: 284.1 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.8091, allocations: 91.84 kB / 0.9652 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.8091, allocations: 2.688 kB / 0.9652 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.8092, allocations: 7.938 kB / 0.9652 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.8092, allocations: 18.91 kB / 0.9652 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.8092, allocations: 6.25 kB / 0.9652 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.34e-05/0.8093, allocations: 126 kB / 0.9653 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8093, allocations: 0 / 0.9653 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003846/0.8097, allocations: 84.78 kB / 0.9654 GB, free: 15.52 MB / 0.7325 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.0007464/0.8105, allocations: 0.8282 MB / 0.9662 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008854/0.8114, allocations: 0.6157 MB / 0.9668 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8114, allocations: 5.156 kB / 0.9668 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.8115, allocations: 73.41 kB / 0.9669 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.812, allocations: 41.31 kB / 0.9669 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.8163, allocations: 3.047 MB / 0.9699 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.8167, allocations: 0.7285 MB / 0.9706 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.14e-05/0.8168, allocations: 24.58 kB / 0.9707 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.8169, allocations: 62.75 kB / 0.9707 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.8169, allocations: 0 / 0.9707 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.839, allocations: 5.913 MB / 0.9765 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.8393, allocations: 201.8 kB / 0.9767 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.685, allocations: 0 / 0.9767 GB, free: 7.949 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches