Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Nand,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.001691/0.001691, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001843/0.001843, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.747/1.747, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.481/2.481, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8739, allocations: 140.4 MB / 0.9492 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002159/0.8761, allocations: 0.7113 MB / 0.9499 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.8776, allocations: 1.187 MB / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.8776, allocations: 0 / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.8777, allocations: 0 / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.341e-05/0.8778, allocations: 13.3 kB / 0.9511 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.8784, allocations: 194.2 kB / 0.9513 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.8787, allocations: 178.2 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.8788, allocations: 13.92 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.8789, allocations: 75.56 kB / 0.9516 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.879, allocations: 52.47 kB / 0.9516 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.879, allocations: 15.69 kB / 0.9516 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.8791, allocations: 38.12 kB / 0.9517 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.8792, allocations: 7.25 kB / 0.9517 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.269e-05/0.8792, allocations: 53.89 kB / 0.9517 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.8794, allocations: 148.5 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8795, allocations: 0 / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8795, allocations: 0 / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.8795, allocations: 1.406 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005399/0.88, allocations: 440.2 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.8801, allocations: 9.375 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.8801, allocations: 31.94 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.8802, allocations: 8.5 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/0.8803, allocations: 174.4 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.8803, allocations: 8.875 kB / 0.9525 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.8804, allocations: 13.59 kB / 0.9525 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.8805, allocations: 44.34 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.8805, allocations: 3.938 kB / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.8805, allocations: 7.922 kB / 0.9526 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.8805, allocations: 9.312 kB / 0.9526 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.8806, allocations: 11.25 kB / 0.9526 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.881, allocations: 351.8 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/0.8811, allocations: 39.95 kB / 0.953 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.8812, allocations: 15.23 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.8812, allocations: 0 / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.8814, allocations: 88.61 kB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.8814, allocations: 0 / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000268/0.8817, allocations: 99.98 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.8817, allocations: 60.58 kB / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.8818, allocations: 122.9 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.8819, allocations: 33.39 kB / 0.9534 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.8819, allocations: 92.92 kB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.8819, allocations: 18.53 kB / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.882, allocations: 48.19 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.8821, allocations: 320.2 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.8822, allocations: 63.64 kB / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.8824, allocations: 86.39 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.8826, allocations: 164.2 kB / 0.9541 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.8826, allocations: 0 / 0.9541 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004161/0.883, allocations: 262.6 kB / 0.9544 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.8831, allocations: 69.3 kB / 0.9544 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.8831, allocations: 5.344 kB / 0.9544 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.8831, allocations: 1.5 kB / 0.9544 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-05/0.8831, allocations: 1.531 kB / 0.9544 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.8831, allocations: 2.906 kB / 0.9544 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.8835, allocations: 55.62 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.8836, allocations: 13.52 kB / 0.9545 GB, free: 4.668 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001083/0.8837, allocations: 131.5 kB / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.8837, allocations: 11.11 kB / 0.9546 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.8837, allocations: 9.312 kB / 0.9547 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.8837, allocations: 1.125 kB / 0.9547 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8838, allocations: 4.781 kB / 0.9547 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8838, allocations: 0 / 0.9547 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.727e-05/0.8839, allocations: 177.2 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8839, allocations: 3.984 kB / 0.9548 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.129e-05/0.8839, allocations: 1.875 kB / 0.9548 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.8839, allocations: 0 / 0.9548 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.8839, allocations: 9.969 kB / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8839, allocations: 320 / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.8839, allocations: 0.9062 kB / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.8841, allocations: 120.2 kB / 0.955 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.8841, allocations: 78.23 kB / 0.955 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.8841, allocations: 9.281 kB / 0.955 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/0.8841, allocations: 1.094 kB / 0.955 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.8842, allocations: 7.609 kB / 0.9551 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.8842, allocations: 6.25 kB / 0.9551 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.8842, allocations: 90.77 kB / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8842, allocations: 0 / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002488/0.8845, allocations: 30.72 kB / 0.9552 GB, free: 4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003489/0.8848, allocations: 0.6596 MB / 0.9558 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003098/0.8852, allocations: 253.4 kB / 0.9561 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8852, allocations: 0 / 0.9561 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.663e-05/0.8852, allocations: 23.97 kB / 0.9561 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.8855, allocations: 12.48 kB / 0.9561 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.8872, allocations: 1.724 MB / 0.9578 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.8873, allocations: 0.6984 MB / 0.9585 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.8873, allocations: 7.344 kB / 0.9585 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.8874, allocations: 18.97 kB / 0.9585 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of SimCode: time 3.9e-07/0.8874, allocations: 0 / 0.9585 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.9016, allocations: 2.762 MB / 0.9612 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.9018, allocations: 193.3 kB / 0.9614 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.719, allocations: 0 / 0.9614 GB, free: 15.25 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches