Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Nor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_9_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.00984/0.00984, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.00262/0.00262, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.533/1.533, allocations: 222.9 MB / 240.4 MB, free: 4.141 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.505/2.505, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.78 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3131, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002251/0.3154, allocations: 0.669 MB / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3174, allocations: 1.181 MB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.3175, allocations: 0 / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.3175, allocations: 3.938 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.3177, allocations: 11.88 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008714/0.3186, allocations: 221.9 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.3189, allocations: 187.7 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.319, allocations: 4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.3192, allocations: 71.88 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3193, allocations: 59.84 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.3194, allocations: 16 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.842e-05/0.3195, allocations: 31.97 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.3195, allocations: 15.94 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.923e-05/0.3196, allocations: 51.89 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3199, allocations: 155.8 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3199, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3199, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.3199, allocations: 0 / 1.09 GB, free: 15.34 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.0005621/0.3205, allocations: 430.7 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.303e-05/0.3205, allocations: 8.031 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.3206, allocations: 34.75 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.3207, allocations: 16.89 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3208, allocations: 172.3 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3208, allocations: 4.375 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.3209, allocations: 16.38 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.321, allocations: 46.25 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.321, allocations: 3.938 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.321, allocations: 3.984 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.321, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.3211, allocations: 23.86 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.3216, allocations: 356.8 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.152e-05/0.3217, allocations: 30.56 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.3217, allocations: 16.86 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.3217, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.3219, allocations: 87.34 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.322, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002639/0.3222, allocations: 101.7 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.3223, allocations: 55.39 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3224, allocations: 121.7 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.3224, allocations: 37.64 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.3225, allocations: 92.14 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.3225, allocations: 19.81 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.3227, allocations: 53.69 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3228, allocations: 318.8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3229, allocations: 67.95 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.3231, allocations: 88.27 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.3233, allocations: 163.6 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3233, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004213/0.3237, allocations: 257.3 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.3238, allocations: 75.33 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3238, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3238, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.591e-05/0.3239, allocations: 7.938 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3239, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.3242, allocations: 56.06 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.3243, 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,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 0.0001011/0.3244, allocations: 124.6 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.3244, allocations: 3.953 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.3244, allocations: 12.38 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3245, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.3245, allocations: 7.984 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3245, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.3246, allocations: 173.6 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3246, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.148e-05/0.3246, allocations: 7.938 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3246, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3247, allocations: 7.984 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3247, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3247, allocations: 4.062 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.3248, allocations: 117 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.3249, allocations: 85 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3249, allocations: 8 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.024e-05/0.3249, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.325, allocations: 7.984 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.325, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.325, allocations: 95.2 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.325, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000241/0.3253, allocations: 32 kB / 1.093 GB, free: 11.53 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,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.0004446/0.3257, allocations: 0.6514 MB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.3261, allocations: 250.7 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3261, allocations: 288 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.3262, allocations: 27.92 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.3264, allocations: 30.14 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.3284, allocations: 1.698 MB / 1.096 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.3286, allocations: 0.6895 MB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.075e-05/0.3287, allocations: 4 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.3287, allocations: 15.44 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3287, allocations: 0 / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.3506, allocations: 2.886 MB / 1.1 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.895, allocations: 7.031 kB / 1.1 GB, free: 5.188 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches