Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.01102/0.01102, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001993/0.001993, allocations: 193.3 kB / 16.67 MB, free: 5.977 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.313/2.313, allocations: 390.3 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.69 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2873, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001945/0.2893, allocations: 0.6496 MB / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2908, allocations: 1.188 MB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.2909, allocations: 0 / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.291, allocations: 7.875 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.033e-05/0.2911, allocations: 15.84 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.2918, allocations: 211.4 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.292, allocations: 187.7 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.2921, allocations: 7.984 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2922, allocations: 71.88 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.2924, allocations: 59.84 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.2924, allocations: 16 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.2925, allocations: 35.92 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.2925, allocations: 8 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.2926, allocations: 59.81 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.2929, allocations: 146.4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.2929, allocations: 4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2929, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2929, allocations: 0 / 1.09 GB, free: 15.29 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.0005446/0.2934, allocations: 431.6 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2935, allocations: 12.03 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.2935, allocations: 34.75 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.2936, allocations: 16.83 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2937, allocations: 164.4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.2937, allocations: 8.375 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.2938, allocations: 12.38 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.2939, allocations: 50.17 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2939, allocations: 3.938 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2939, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.2939, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.985e-05/0.294, allocations: 12 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.2944, allocations: 368.6 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/0.2945, allocations: 34.5 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.2946, allocations: 16.86 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.2946, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.2948, allocations: 79.45 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2948, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000249/0.295, allocations: 105.5 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2951, allocations: 59.34 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.2952, allocations: 113.8 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.2952, allocations: 29.7 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.2953, allocations: 104 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.2953, allocations: 3.906 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/0.2954, allocations: 57.69 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2955, allocations: 322.8 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.2957, allocations: 63.91 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.2958, allocations: 90.77 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.296, allocations: 167.5 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.296, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004039/0.2964, allocations: 256.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.109e-05/0.2965, allocations: 71.39 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2965, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2965, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.821e-05/0.2966, allocations: 4.469 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2966, allocations: 128 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.2969, allocations: 63.78 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.297, allocations: 19.97 kB / 1.093 GB, free: 12.26 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,and1.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.0001048/0.2971, allocations: 127.7 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.2971, allocations: 7.938 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.2971, allocations: 12.36 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2971, allocations: 4 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2971, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2971, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.2973, allocations: 177.6 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2973, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.391e-05/0.2973, allocations: 12.05 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2973, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2973, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2973, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2973, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.2975, allocations: 113 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.2975, allocations: 85.02 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.2976, allocations: 4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.843e-05/0.2976, allocations: 3.938 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.2976, allocations: 7.984 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2976, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.2977, allocations: 91.27 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2977, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002372/0.2979, allocations: 36 kB / 1.093 GB, free: 11.49 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,and1.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.0004579/0.2984, allocations: 0.6513 MB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.2987, allocations: 254.6 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2988, allocations: 256 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.845e-05/0.2988, allocations: 31.92 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.2991, allocations: 18.45 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3009, allocations: 1.707 MB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.3012, allocations: 0.6885 MB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.3012, allocations: 4 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.3013, allocations: 23.42 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3013, allocations: 0 / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.3218, allocations: 2.934 MB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.28, allocations: 11.31 kB / 1.1 GB, free: 5.082 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches