Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001042/0.001042, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001288/0.001288, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.999/2.999, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003927, allocations: 14.88 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3456, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00118/0.3469, allocations: 0.5209 MB / 1.059 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.3493, allocations: 1.463 MB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3495, allocations: 4 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.3496, allocations: 11.86 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.933e-05/0.3497, allocations: 19.8 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.3512, allocations: 483.1 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.3517, allocations: 379.2 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.352, allocations: 37.41 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.3523, allocations: 155.7 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.3526, allocations: 131.6 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.3527, allocations: 20 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.3528, allocations: 35.98 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.3529, allocations: 31.91 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.3531, allocations: 69.64 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.3534, allocations: 283.5 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3534, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.466e-06/0.3535, allocations: 4 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3535, allocations: 3.938 kB / 1.062 GB, free: 1.684 MB / 0.8106 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.0008016/0.3543, allocations: 0.5657 MB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.3543, allocations: 12.03 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.3545, allocations: 27.81 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.3549, allocations: 258.7 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.3549, allocations: 19.95 kB / 1.062 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.355, allocations: 32 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.3553, allocations: 153.2 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3553, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.3554, allocations: 7.984 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3554, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.3555, allocations: 81.78 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009801/0.3565, allocations: 0.711 MB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.3567, allocations: 171.7 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.011e-05/0.3568, allocations: 52.86 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.3568, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.3571, allocations: 155.3 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.3571, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004838/0.3576, allocations: 239.1 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.3577, allocations: 55.41 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3579, allocations: 187.7 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.3579, allocations: 41.7 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3581, allocations: 124.5 kB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.3581, allocations: 47.44 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.3582, allocations: 12 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3583, allocations: 330.8 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.3586, allocations: 159.8 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.359, allocations: 234.2 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.3594, allocations: 301 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3594, allocations: 0 / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009761/0.3604, allocations: 0.6081 MB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.3606, allocations: 168.5 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3606, allocations: 4 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3606, allocations: 4 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.314e-05/0.3606, allocations: 8 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.3607, allocations: 15.86 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008543/0.3615, allocations: 187.7 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/0.3616, allocations: 39.97 kB / 1.066 GB, free: 12.33 MB / 0.8262 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,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.3618, allocations: 159 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.3619, allocations: 15.81 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.3619, allocations: 21.86 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3619, allocations: 4 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3619, allocations: 4.062 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.362, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.3625, allocations: 0.5088 MB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3626, allocations: 3.938 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.3626, allocations: 7.984 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3626, allocations: 7.984 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3626, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3626, allocations: 4 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3626, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.3629, allocations: 283.2 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.363, allocations: 96.86 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.363, allocations: 4 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/0.3631, allocations: 3.984 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.3632, allocations: 23.97 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.3632, allocations: 11.94 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.129e-05/0.3633, allocations: 119.2 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3633, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003952/0.3637, allocations: 79.84 kB / 1.068 GB, free: 10.89 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002127/0.3639, allocations: 119.2 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00078/0.3647, allocations: 0.617 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.3647, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.3649, allocations: 76.77 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.3653, allocations: 48.59 kB / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.3659, allocations: 362.3 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3663, allocations: 0.7284 MB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.726e-05/0.3664, allocations: 21.55 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.3664, allocations: 23.44 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3664, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of Templates: time 0.008437/0.3749, allocations: 4.151 MB / 1.074 GB, free: 4.703 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches