Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Nand,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_10_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.00158/0.00158, allocations: 108 kB / 15.61 MB, free: 152 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.002008/0.002008, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.643/2.643, allocations: 437.1 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.89 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7376/0.7391, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002139/0.7413, allocations: 0.6676 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.7431, allocations: 1.179 MB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.7432, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.7433, allocations: 11.94 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/0.7434, allocations: 11.86 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008338/0.7442, allocations: 211.4 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.7445, allocations: 187.6 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.7446, allocations: 15.94 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.7447, allocations: 71.88 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.7448, allocations: 43.88 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.7449, allocations: 16 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.745, allocations: 27.98 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.745, allocations: 11.98 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.7452, allocations: 59.88 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.7454, allocations: 145.9 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7454, allocations: 3.938 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7454, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.7455, allocations: 4 kB / 1.02 GB, free: 15.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006403/0.7461, allocations: 442.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.7462, allocations: 8.031 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.7462, allocations: 34.75 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.7463, allocations: 12.84 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.7464, allocations: 168.3 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.7464, allocations: 8.375 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.7465, allocations: 12.38 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.7466, allocations: 46.23 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.7466, allocations: 3.938 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.7466, allocations: 8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.7466, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.808e-05/0.7467, allocations: 15.94 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.7472, allocations: 352.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/0.7473, allocations: 34.56 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.7474, allocations: 16.86 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.7474, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.7476, allocations: 87.36 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.7476, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002533/0.7478, allocations: 109.6 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.7479, allocations: 51.41 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/0.748, allocations: 117.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.748, allocations: 29.7 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.7481, allocations: 104.1 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.7481, allocations: 15.8 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.7482, allocations: 49.69 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7483, allocations: 318.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.7485, allocations: 59.97 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.7486, allocations: 92.27 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.7488, allocations: 159.6 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7488, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004174/0.7492, allocations: 264.9 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/0.7493, allocations: 79.45 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.7493, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7493, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.051e-05/0.7494, allocations: 7.938 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7494, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.7497, allocations: 55.86 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.7498, allocations: 12 kB / 1.023 GB, free: 12.8 MB / 0.7794 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.0001039/0.7499, allocations: 134.2 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.7499, allocations: 7.906 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.7499, allocations: 4.375 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.75, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.75, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.75, allocations: 3.938 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.7501, allocations: 181.6 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7501, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.7501, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.7501, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.7502, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7502, allocations: 3.938 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7502, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.7503, allocations: 116.9 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.7504, allocations: 81.11 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.7504, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.7504, allocations: 3.984 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.7505, allocations: 12 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.7505, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.954e-05/0.7505, allocations: 91.27 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7506, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002386/0.7508, allocations: 31.91 kB / 1.023 GB, free: 12.04 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: 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.0004784/0.7513, allocations: 0.6553 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.7517, allocations: 242.7 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7517, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.062e-05/0.7517, allocations: 27.94 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.752, allocations: 17.86 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.7539, allocations: 1.726 MB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.7541, allocations: 0.6924 MB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.7542, allocations: 7.938 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.7542, allocations: 19.42 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.7542, allocations: 0 / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.7769, allocations: 2.852 MB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.508, allocations: 6.141 kB / 1.029 GB, free: 5.695 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches