Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_latest_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.00172/0.00172, 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.002219/0.002219, allocations: 193 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 61.27 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2837, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002498/0.2863, allocations: 0.6486 MB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2882, allocations: 1.191 MB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.509e-05/0.2883, allocations: 0 / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.863e-05/0.2884, allocations: 7.922 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.2885, allocations: 11.92 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008757/0.2894, allocations: 212.7 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.2897, allocations: 187.7 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2899, allocations: 19.98 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.29, allocations: 67.83 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.2901, allocations: 47.88 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.2902, allocations: 16 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.2903, allocations: 23.98 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.2903, allocations: 11.98 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.392e-05/0.2904, allocations: 63.83 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.2907, allocations: 143.9 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2907, allocations: 3.938 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2907, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.2907, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 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.0005894/0.2913, allocations: 438.7 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.2914, allocations: 8.031 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.2914, allocations: 38.75 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.2915, allocations: 12.78 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2916, allocations: 168.3 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.2916, allocations: 8.375 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.2917, allocations: 12.36 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.2918, allocations: 50.25 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2918, allocations: 3.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.2918, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2918, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.159e-05/0.2919, allocations: 15.98 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.2924, allocations: 364.5 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.291e-05/0.2925, allocations: 30.58 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.2926, allocations: 20.94 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.2926, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.2928, allocations: 79.36 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2928, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002652/0.2931, allocations: 113.5 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.2931, allocations: 51.41 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2932, allocations: 117.8 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.2933, allocations: 29.7 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.2934, allocations: 92.05 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.2934, allocations: 11.91 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2935, allocations: 49.69 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2936, allocations: 322.8 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.2938, allocations: 59.97 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.2939, allocations: 100.2 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.2942, allocations: 160 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2942, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004352/0.2946, allocations: 260.8 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.429e-05/0.2947, allocations: 75.33 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2947, allocations: 0 / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2947, allocations: 0 / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.275e-05/0.2947, allocations: 4 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2948, allocations: 3.984 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.2952, allocations: 55.97 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.2952, allocations: 19.98 kB / 1.069 GB, free: 8.805 MB / 0.8262 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.0001333/0.2953, allocations: 129.7 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.2954, allocations: 0 / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.2954, allocations: 12.38 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2954, allocations: 0 / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.2954, allocations: 4.062 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2954, allocations: 7.984 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.2956, allocations: 177.6 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2956, allocations: 0 / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-06/0.2957, allocations: 0 / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2957, allocations: 4 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2957, allocations: 0 / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2957, allocations: 3.984 kB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2957, allocations: 0 / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.2959, allocations: 116.9 kB / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.296, allocations: 85 kB / 1.069 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.296, allocations: 4 kB / 1.069 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/0.296, allocations: 0 / 1.069 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.2961, allocations: 11.98 kB / 1.069 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.2961, allocations: 0 / 1.069 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.211e-05/0.2962, allocations: 91.22 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2962, allocations: 0 / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002603/0.2964, allocations: 31.98 kB / 1.07 GB, free: 8.043 MB / 0.8262 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.0006478/0.2971, allocations: 0.6641 MB / 1.07 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004103/0.2975, allocations: 238.7 kB / 1.07 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.2975, allocations: 8 kB / 1.07 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.146e-05/0.2976, allocations: 24.45 kB / 1.07 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.2979, allocations: 22.11 kB / 1.07 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.3002, allocations: 1.703 MB / 1.072 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3005, allocations: 0.6846 MB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.155e-05/0.3006, allocations: 4 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.3006, allocations: 19.42 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of SimCode: time 9.52e-07/0.3006, allocations: 0 / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.3207, allocations: 2.871 MB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.456, allocations: 10.69 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches