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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.01049/0.01049, allocations: 99.53 kB / 15.73 MB, free: 5.996 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.002159/0.00216, allocations: 195.3 kB / 16.68 MB, free: 5.918 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8617/0.8631, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001985/0.8651, allocations: 0.828 MB / 1.088 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.867, allocations: 1.477 MB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.8671, allocations: 1.438 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.8673, allocations: 24.11 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.527e-05/0.8674, allocations: 31.59 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.8688, allocations: 0.5164 MB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007424/0.8695, allocations: 0.497 MB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.8697, allocations: 36.72 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.87, allocations: 189.6 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.8704, allocations: 175.6 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.8705, allocations: 40.62 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.8707, allocations: 50.92 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.8707, allocations: 46.06 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.871, allocations: 163 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.8715, allocations: 409.9 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8716, allocations: 5.25 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8716, allocations: 0 / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.8716, allocations: 0.9375 kB / 1.092 GB, free: 2.766 MB / 0.8575 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.0008654/0.8725, allocations: 0.6364 MB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.8725, allocations: 9.562 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.917e-05/0.8726, allocations: 50.5 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.8727, allocations: 29.36 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.873, allocations: 269.3 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.8731, allocations: 17.8 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.8731, allocations: 34.22 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.8734, allocations: 152.3 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8734, allocations: 3.938 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.8735, allocations: 6.266 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.8735, allocations: 3.594 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.8736, allocations: 77.5 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008778/0.8745, allocations: 0.7071 MB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.8747, allocations: 167.8 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/0.8748, allocations: 43.38 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.8748, allocations: 1.312 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.8751, allocations: 166.1 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.8751, allocations: 0 / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004937/0.8756, allocations: 243.6 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.8757, allocations: 56.39 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.8758, allocations: 190.1 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.8759, allocations: 40.03 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.876, allocations: 127.1 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.876, allocations: 33.98 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.8762, allocations: 118.7 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.8763, allocations: 329.8 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.8767, allocations: 157.2 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.8771, allocations: 237 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.8776, allocations: 413.9 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8776, allocations: 1.125 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00118/0.8788, allocations: 0.6251 MB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.8789, allocations: 165 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.8789, allocations: 3.875 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.879, allocations: 3.562 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.994e-05/0.879, allocations: 15.17 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.879, allocations: 4.859 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/0.8799, allocations: 140.8 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-05/0.88, allocations: 28.72 kB / 1.097 GB, free: 15.1 MB / 0.8731 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.0001978/0.8802, allocations: 161.1 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.8802, allocations: 20.06 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.8803, allocations: 18.47 kB / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8803, allocations: 2.188 kB / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8803, allocations: 1.062 kB / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.8803, allocations: 1.172 kB / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006606/0.881, allocations: 0.5163 MB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.881, allocations: 1.547 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.881, allocations: 5 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.881, allocations: 4.562 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.881, allocations: 7.922 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.881, allocations: 1.766 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.881, allocations: 0 / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.8814, allocations: 282.5 kB / 1.098 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/0.8815, allocations: 89.56 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.8815, allocations: 7.656 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.8816, allocations: 7.094 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.8817, allocations: 21.95 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.8817, allocations: 7.734 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001072/0.8818, allocations: 119.4 kB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8818, allocations: 0 / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000442/0.8823, allocations: 86.97 kB / 1.098 GB, free: 14.14 MB / 0.8731 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.0007137/0.883, allocations: 0.8387 MB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009022/0.8839, allocations: 0.6094 MB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.8839, allocations: 0 / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.884, allocations: 82.02 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.8845, allocations: 56.28 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/0.8888, allocations: 2.999 MB / 1.103 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.8892, allocations: 0.736 MB / 1.103 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.8894, allocations: 21.83 kB / 1.103 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/0.8895, allocations: 59.64 kB / 1.104 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8895, allocations: 0 / 1.104 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.9185, allocations: 6.526 MB / 1.11 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.924, allocations: 5.719 kB / 1.11 GB, free: 9.262 MB / 0.8731 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