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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009174/0.009174, allocations: 97.47 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.001455/0.001455, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.377/2.377, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 64.08 kB / 0.9509 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9753/0.9767, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002675/0.9795, allocations: 0.8417 MB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003116/0.9826, allocations: 1.478 MB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.9828, allocations: 2.125 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.983, allocations: 15.72 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.9831, allocations: 37.17 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.9848, allocations: 0.5173 MB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007717/0.9856, allocations: 0.4974 MB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.9858, allocations: 44.36 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.9861, allocations: 180.5 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.9864, allocations: 177.5 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.9865, allocations: 45.09 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.9867, allocations: 53.48 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.9868, allocations: 42.75 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.987, allocations: 162 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008286/0.9879, allocations: 413 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.9879, allocations: 0 / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.706e-06/0.9879, allocations: 0.7812 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.9879, allocations: 0 / 1.092 GB, free: 2.992 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.001005/0.9889, allocations: 0.6485 MB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.989, allocations: 10.23 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.9891, allocations: 36.5 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.9895, allocations: 269.3 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.9896, allocations: 18.92 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.46e-05/0.9897, allocations: 29.78 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.99, allocations: 148.2 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.99, allocations: 192 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.99, allocations: 6.859 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.99, allocations: 2.625 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.9902, allocations: 86.44 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.9913, allocations: 0.71 MB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.9915, allocations: 167.4 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-05/0.9916, allocations: 47.84 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.9917, allocations: 10.41 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.992, allocations: 149.7 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.992, allocations: 0 / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0005743/0.9926, allocations: 251 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.9926, allocations: 56.27 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.9928, allocations: 179.5 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.9929, allocations: 47.48 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.993, allocations: 127.7 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.993, allocations: 45.3 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.9933, allocations: 115.1 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.9934, allocations: 328.5 kB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.9938, allocations: 154.5 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.9943, allocations: 237.7 kB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.995, allocations: 410.2 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.995, allocations: 0.8125 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001639/0.9967, allocations: 0.6117 MB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002327/0.9969, allocations: 165.6 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.997, allocations: 6.641 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.997, allocations: 4 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.9971, allocations: 12.44 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.9971, allocations: 5 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.9982, allocations: 143.2 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.92e-05/0.9983, allocations: 37.47 kB / 1.097 GB, free: 15.36 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.0003112/0.9986, allocations: 165.9 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.9987, allocations: 15.66 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.038e-05/0.9987, allocations: 22.58 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.9988, allocations: 2.531 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.9988, allocations: 0 / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.9988, allocations: 1.891 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009754/0.9998, allocations: 0.5173 MB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.9998, allocations: 0 / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.9998, allocations: 9.344 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.9998, allocations: 1.125 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.9999, allocations: 3.531 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.9999, allocations: 4.875 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.9999, allocations: 2.625 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/1, allocations: 280.8 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/1.001, allocations: 97.5 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/1.001, allocations: 7.391 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/1.001, allocations: 2.203 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.001, allocations: 22.73 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/1.001, allocations: 8.031 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001948/1.001, allocations: 120.4 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.21e-07/1.001, allocations: 0 / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006528/1.002, allocations: 74.3 kB / 1.099 GB, free: 14.4 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.0003711/1.002, allocations: 121.3 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001352/1.004, allocations: 0.6171 MB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.004, allocations: 4.844 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/1.004, allocations: 77.81 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/1.004, allocations: 58.62 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008612/1.005, allocations: 322.2 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/1.006, allocations: 0.7285 MB / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.357e-05/1.006, allocations: 26.31 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/1.006, allocations: 17.88 kB / 1.101 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/1.006, allocations: 0.5938 kB / 1.101 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.01115/1.017, allocations: 4.578 MB / 1.105 GB, free: 12.5 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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