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.009258/0.009258, allocations: 103.4 kB / 15.73 MB, free: 6.035 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.00173/0.001731, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.553/1.553, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.473/2.473, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 68.42 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002297/0.309, allocations: 0.6496 MB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3108, allocations: 1.188 MB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.3109, allocations: 0 / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.311, allocations: 3.938 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.3111, allocations: 23.84 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007976/0.3119, allocations: 210.2 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000298/0.3123, allocations: 183.6 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3124, allocations: 15.98 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3125, allocations: 67.88 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.3127, allocations: 63.84 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.3127, allocations: 16 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.3128, allocations: 23.98 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.3129, allocations: 8 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.313, allocations: 59.81 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.3132, allocations: 150.4 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3132, allocations: 4 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3132, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.3132, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 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.0005898/0.3138, allocations: 435.6 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3139, allocations: 11.97 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.3139, allocations: 34.75 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.314, allocations: 16.83 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3141, allocations: 164.4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3142, allocations: 4.375 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.3142, allocations: 12.38 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.3143, allocations: 58.17 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3144, allocations: 3.938 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3144, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.3144, allocations: 3.984 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.319e-05/0.3144, allocations: 12 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.315, allocations: 360.6 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.719e-05/0.3151, allocations: 42.5 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.3151, allocations: 12.86 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.3151, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.3153, allocations: 83.44 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3153, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002576/0.3155, allocations: 101.5 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3156, allocations: 55.41 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.3157, allocations: 117.8 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.3157, allocations: 29.7 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.3158, allocations: 100 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3158, allocations: 11.91 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-05/0.3159, allocations: 53.69 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.316, allocations: 322.8 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3162, allocations: 63.91 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.3163, allocations: 91.39 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.3165, allocations: 163.6 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3165, allocations: 4 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000395/0.3169, allocations: 264.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/0.317, allocations: 67.39 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.317, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.317, allocations: 3.938 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.353e-05/0.3171, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3171, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.3174, allocations: 59.91 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.3174, allocations: 15.98 kB / 1.093 GB, free: 12.3 MB / 0.8575 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.0001026/0.3176, allocations: 124.9 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.3176, allocations: 4 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.3176, allocations: 12.36 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3176, allocations: 4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3176, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3176, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3178, allocations: 181.5 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3178, allocations: 4 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.3178, allocations: 3.984 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3178, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3178, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3178, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3178, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.318, allocations: 113 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.318, allocations: 81.02 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.3181, allocations: 4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.835e-05/0.3181, allocations: 4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.3181, allocations: 7.984 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3181, allocations: 4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.532e-05/0.3182, allocations: 99.14 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3182, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000231/0.3184, allocations: 28 kB / 1.093 GB, free: 11.54 MB / 0.8575 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.0004703/0.3189, allocations: 0.6631 MB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.3193, allocations: 238.6 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3193, allocations: 0 / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.3193, allocations: 31.92 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.3196, allocations: 21.73 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.3214, allocations: 1.699 MB / 1.096 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.3216, allocations: 0.6962 MB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.3216, allocations: 4 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.3217, allocations: 23.42 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.3217, allocations: 0 / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.3417, allocations: 2.937 MB / 1.1 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.308, allocations: 9.531 kB / 1.1 GB, free: 5.133 MB / 0.8575 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