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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_10_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.00107/0.00107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.507/2.507, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6029/0.6042, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.0036/0.6079, allocations: 0.8431 MB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.6103, allocations: 1.479 MB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.6104, allocations: 4 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.6106, allocations: 11.81 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.6107, allocations: 43.69 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.6121, allocations: 0.4994 MB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005442/0.6127, allocations: 0.4953 MB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.6129, allocations: 45.45 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.613, allocations: 179.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.6132, allocations: 143.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.6133, allocations: 44 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.6134, allocations: 51.98 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.6135, allocations: 47.89 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.6136, allocations: 159.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.6141, allocations: 413.1 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6141, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6141, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.118e-06/0.6141, allocations: 0 / 1.022 GB, free: 14.07 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.0007104/0.6148, allocations: 0.6475 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.6149, allocations: 12.02 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.6149, allocations: 42.69 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.477e-05/0.615, allocations: 40.64 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.6153, allocations: 257.1 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.6153, allocations: 20.31 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.6154, allocations: 32.38 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.6156, allocations: 151.8 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.6156, allocations: 3.938 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.6157, allocations: 3.984 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.6157, allocations: 7.984 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.6158, allocations: 79.95 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.6166, allocations: 0.707 MB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.6168, allocations: 175.7 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.6169, allocations: 40.84 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.6169, allocations: 4 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.6171, allocations: 159.3 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.6171, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004246/0.6175, allocations: 244.2 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.6176, allocations: 55.41 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.6177, allocations: 182.7 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.6178, allocations: 41.69 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.6179, allocations: 124.5 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.6179, allocations: 35.52 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.6181, allocations: 121.6 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.6182, allocations: 326.8 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.6185, allocations: 159.9 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.6189, allocations: 235.7 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.6193, allocations: 414.1 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6193, allocations: 0 / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008628/0.6202, allocations: 0.6228 MB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.453e-05/0.6203, allocations: 176.4 kB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6203, allocations: 4 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6203, allocations: 4 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.973e-05/0.6203, allocations: 7.938 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6203, allocations: 7.984 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/0.6211, allocations: 147.6 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.6212, allocations: 31.98 kB / 1.027 GB, free: 8.355 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.0001435/0.6213, allocations: 155.1 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.6214, allocations: 23.73 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.6214, allocations: 21.88 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.6214, allocations: 4 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6214, allocations: 0 / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6214, allocations: 0 / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.6219, allocations: 0.51 MB / 1.028 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.6219, allocations: 0 / 1.028 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.6219, allocations: 4 kB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6219, allocations: 0 / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.622, allocations: 0 / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.622, allocations: 8 kB / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.622, allocations: 3.984 kB / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.6222, allocations: 285.2 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.6223, allocations: 88.92 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.6223, allocations: 11.98 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-05/0.6224, allocations: 0 / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.6224, allocations: 23.97 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.6225, allocations: 8 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.721e-05/0.6225, allocations: 119.2 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6225, allocations: 0 / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003369/0.6229, allocations: 83.84 kB / 1.028 GB, free: 6.93 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.0005302/0.6234, allocations: 0.8304 MB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006692/0.6241, allocations: 0.6351 MB / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6241, allocations: 0 / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.6242, allocations: 71.91 kB / 1.03 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.6246, allocations: 64.52 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.6279, allocations: 2.986 MB / 1.033 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.6282, allocations: 0.7284 MB / 1.033 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.108e-05/0.6282, allocations: 25.53 kB / 1.033 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.33e-05/0.6283, allocations: 51.42 kB / 1.033 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.6283, allocations: 4 kB / 1.033 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.6529, allocations: 6.319 MB / 1.04 GB, free: 11.06 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.754, allocations: 8.016 kB / 1.04 GB, free: 11.05 MB / 0.795 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/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