Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001476/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001878/0.001878, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 63.89 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9108/0.9122, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002691/0.9149, allocations: 0.8899 MB / 1.017 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.9173, allocations: 1.538 MB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.9175, allocations: 8 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.9177, allocations: 11.88 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.836e-05/0.9178, allocations: 27.77 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.9191, allocations: 491.8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004616/0.9195, allocations: 411.3 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.9198, allocations: 45.45 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.9199, allocations: 167.6 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.9201, allocations: 139.5 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.509e-05/0.9202, allocations: 24 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.9203, allocations: 39.98 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.9204, allocations: 35.91 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.9206, allocations: 147.4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.9211, allocations: 388.9 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.9211, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9211, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.9211, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 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.0009655/0.9221, allocations: 0.6552 MB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.9222, allocations: 12.03 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.9223, allocations: 28.75 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.9227, allocations: 256 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.9227, allocations: 24.36 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.9228, allocations: 28.38 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.9231, allocations: 153.4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9231, allocations: 4.125 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.9232, allocations: 7.938 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.9232, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.9233, allocations: 83.94 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.9244, allocations: 0.6993 MB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.9246, allocations: 175.6 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.9247, allocations: 48.84 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.9247, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.925, allocations: 159.4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 3.336e-06/0.925, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0005259/0.9255, allocations: 247.1 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.9256, allocations: 55.41 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.9258, allocations: 183.8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.9259, allocations: 41.64 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.926, allocations: 124.5 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.926, allocations: 39.5 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.9262, allocations: 113.6 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.9264, allocations: 330.8 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.9268, allocations: 159.8 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.9272, allocations: 242.1 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.9277, allocations: 402.6 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9277, allocations: 4 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00108/0.9288, allocations: 0.6186 MB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.9289, allocations: 160.5 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.929, allocations: 7.938 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.929, allocations: 7.984 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/0.9291, allocations: 16.28 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.9291, allocations: 7.938 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000841/0.9299, allocations: 143.6 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.93, allocations: 39.97 kB / 1.026 GB, free: 8.797 MB / 0.7794 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.0002281/0.9302, allocations: 155.6 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.9303, allocations: 11.81 kB / 1.026 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.9303, allocations: 21.81 kB / 1.026 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.068e-06/0.9303, allocations: 7.984 kB / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.9304, allocations: 0 / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.9304, allocations: 0 / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.931, allocations: 0.5076 MB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9311, allocations: 0 / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.9311, allocations: 15.92 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.9311, allocations: 0 / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.9311, allocations: 4 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9311, allocations: 0 / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.9311, allocations: 0 / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.9315, allocations: 288.8 kB / 1.027 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.9316, allocations: 88.92 kB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.9316, allocations: 7.938 kB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.9317, allocations: 7.984 kB / 1.027 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.9318, allocations: 15.98 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.9318, allocations: 15.98 kB / 1.027 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001121/0.9319, allocations: 120.2 kB / 1.027 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.595e-06/0.9319, allocations: 4 kB / 1.027 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004217/0.9323, allocations: 87.78 kB / 1.027 GB, free: 7.363 MB / 0.7794 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.0003146/0.9327, allocations: 118.7 kB / 1.027 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008819/0.9336, allocations: 0.6101 MB / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.9336, allocations: 0 / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.9337, allocations: 75.91 kB / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.9342, allocations: 58.62 kB / 1.028 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007059/0.9349, allocations: 366 kB / 1.028 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.9353, allocations: 0.7286 MB / 1.029 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.326e-05/0.9354, allocations: 17.55 kB / 1.029 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.9354, allocations: 23.44 kB / 1.029 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.9354, allocations: 0 / 1.029 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of Templates: time 0.008818/0.9443, allocations: 4.338 MB / 1.033 GB, free: 0.9688 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches