Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.001543/0.001543, allocations: 108 kB / 15.6 MB, free: 128 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.001833/0.001833, allocations: 196.2 kB / 16.53 MB, free: 6.672 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 62.81 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2885, allocations: 159.1 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002026/0.2906, allocations: 0.6525 MB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2921, allocations: 1.199 MB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.2921, allocations: 0 / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.2922, allocations: 7.938 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-05/0.2923, allocations: 3.938 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.2929, allocations: 209.3 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.2931, allocations: 187.7 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.2932, allocations: 23.97 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.2934, allocations: 67.83 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.2935, allocations: 55.86 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.2936, allocations: 12 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.392e-05/0.2937, allocations: 27.98 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.2937, allocations: 11.94 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.2938, allocations: 55.88 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.294, allocations: 143.9 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.294, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.294, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.294, allocations: 0 / 1.066 GB, free: 11.8 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.0005235/0.2946, allocations: 448.2 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2946, allocations: 8.031 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.2947, allocations: 34.75 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.2947, allocations: 12.84 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2948, allocations: 172.3 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2948, allocations: 4.375 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.2949, allocations: 8.375 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.295, allocations: 46.25 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.295, allocations: 7.938 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.295, allocations: 7.984 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.295, allocations: 0 / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.95e-05/0.2951, allocations: 12 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.2955, allocations: 356.6 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.189e-05/0.2956, allocations: 42.5 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.2956, allocations: 12.86 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.2957, allocations: 4 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.2958, allocations: 79.47 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 3.346e-06/0.2959, allocations: 3.984 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002378/0.2961, allocations: 101.5 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2961, allocations: 59.39 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.2962, allocations: 113.8 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.2963, allocations: 29.7 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.2963, allocations: 100 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.2964, allocations: 15.89 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.2965, allocations: 45.69 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2966, allocations: 322.8 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.2967, allocations: 59.95 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.2969, allocations: 96.52 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.297, allocations: 163.6 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2971, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003984/0.2975, allocations: 264.8 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.2975, allocations: 72.92 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2975, allocations: 0 / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2975, allocations: 4 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.903e-05/0.2976, allocations: 0 / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2976, allocations: 4 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.2979, allocations: 51.84 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.298, allocations: 15.98 kB / 1.069 GB, free: 8.766 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,nor1.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 9.523e-05/0.2981, allocations: 133.7 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.2981, allocations: 7.984 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.2982, allocations: 8.375 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2982, allocations: 4 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.2982, allocations: 4.062 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2982, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.2983, allocations: 177.6 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2983, allocations: 3.984 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-06/0.2983, allocations: 0 / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2983, allocations: 4 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2984, allocations: 4 kB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2984, allocations: 0 / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2984, allocations: 0 / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.2985, allocations: 116.9 kB / 1.069 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.2986, allocations: 81.02 kB / 1.069 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2986, allocations: 0 / 1.069 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.189e-05/0.2986, allocations: 7.938 kB / 1.069 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.2987, allocations: 11.98 kB / 1.069 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.2987, allocations: 4 kB / 1.069 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.2987, allocations: 91.27 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2987, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000229/0.299, allocations: 28 kB / 1.07 GB, free: 7.996 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,nor1.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.0004323/0.2994, allocations: 0.6635 MB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.2997, allocations: 246.7 kB / 1.07 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2997, allocations: 3.938 kB / 1.07 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.2998, allocations: 20 kB / 1.07 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.3, allocations: 15.98 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.3018, allocations: 1.698 MB / 1.072 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.3021, allocations: 0.6924 MB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.411e-05/0.3021, allocations: 4 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.3022, allocations: 19.44 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3022, allocations: 0.5625 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.3202, allocations: 2.871 MB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.163/7.484, allocations: 8.094 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches