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.008144/0.008144, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.002062/0.002062, allocations: 196.6 kB / 16.68 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.391/1.391, 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 9.1.3-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.89 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8793/0.8808, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001937/0.8828, allocations: 0.8419 MB / 1.088 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.8846, allocations: 1.474 MB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.8847, allocations: 2.156 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.8848, allocations: 20.31 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-05/0.8849, allocations: 40.59 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.8862, allocations: 0.51 MB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006492/0.8869, allocations: 0.505 MB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.887, allocations: 40.94 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.8873, allocations: 185 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003149/0.8876, allocations: 168.3 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.882e-05/0.8877, allocations: 40.38 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.8879, allocations: 59.42 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.888, allocations: 45.94 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.8882, allocations: 158.8 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000607/0.8888, allocations: 415.2 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8888, allocations: 1.281 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8888, allocations: 0 / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.8888, allocations: 0.5625 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.0008151/0.8897, allocations: 0.6437 MB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.8897, allocations: 10 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.8898, allocations: 46.77 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.8899, allocations: 37.33 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.8903, allocations: 272.6 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.8903, allocations: 18.03 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.949e-05/0.8904, allocations: 30.86 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.8907, allocations: 143.7 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.8907, allocations: 4.562 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.8908, allocations: 6.641 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.8908, allocations: 7.062 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.891, allocations: 89.78 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009422/0.8919, allocations: 0.6948 MB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.8921, allocations: 175.9 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.834e-05/0.8922, allocations: 43.62 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.8922, allocations: 5.5 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/0.8925, allocations: 153.8 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.8925, allocations: 0 / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0005276/0.8931, allocations: 251.8 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.8931, allocations: 55.83 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.8933, allocations: 178.6 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.8934, allocations: 44.5 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.8935, allocations: 131.4 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.8935, allocations: 41.22 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.8938, allocations: 115.9 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.8938, allocations: 324.4 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.8942, allocations: 156.9 kB / 1.095 GB, free: 132 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.8947, allocations: 239.6 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.8953, allocations: 413.3 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8953, allocations: 1.469 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001232/0.8965, allocations: 0.6132 MB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.8967, allocations: 169.9 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8967, allocations: 2.688 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.8967, allocations: 4.375 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.271e-05/0.8968, allocations: 14.52 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.8968, allocations: 5.094 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008466/0.8976, allocations: 143.8 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.219e-05/0.8977, allocations: 34.75 kB / 1.097 GB, free: 15.09 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.0001973/0.8979, allocations: 156.3 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.898, allocations: 20.23 kB / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.898, allocations: 18.48 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.898, allocations: 2.797 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.898, allocations: 0 / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.8981, allocations: 6.672 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007127/0.8988, allocations: 0.5155 MB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.8988, allocations: 4.562 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.8988, allocations: 12.97 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8988, allocations: 0.75 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.8988, allocations: 4.406 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8989, allocations: 5.062 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8989, allocations: 1.031 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.8992, allocations: 282.1 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.8993, allocations: 98.5 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.8993, allocations: 6.375 kB / 1.098 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.8994, allocations: 2.531 kB / 1.098 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.8995, allocations: 19.22 kB / 1.098 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.8995, allocations: 11.22 kB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.526e-05/0.8996, allocations: 119.7 kB / 1.098 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8996, allocations: 0 / 1.098 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003987/0.9, allocations: 75.11 kB / 1.098 GB, free: 14.12 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.0007873/0.9008, allocations: 0.8426 MB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008769/0.9017, allocations: 0.616 MB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.9017, allocations: 1.562 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.9019, allocations: 82.41 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.9023, allocations: 44.19 kB / 1.1 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.9076, allocations: 2.996 MB / 1.103 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.9081, allocations: 0.7276 MB / 1.103 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.9083, allocations: 26.16 kB / 1.104 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.9084, allocations: 63.31 kB / 1.104 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/0.9084, allocations: 4.531 kB / 1.104 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.9388, allocations: 6.365 MB / 1.11 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.87, allocations: 5.594 kB / 1.11 GB, free: 9.305 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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