Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.005207/0.005207, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001314/0.001314, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.89 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001851/0.3145, allocations: 0.6516 MB / 1.242 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.3161, allocations: 1.178 MB / 1.243 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.3162, allocations: 0 / 1.243 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.3162, allocations: 3.938 kB / 1.243 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.3163, allocations: 15.84 kB / 1.243 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.317, allocations: 213.7 kB / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.3173, allocations: 187.7 kB / 1.244 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.3174, allocations: 15.97 kB / 1.244 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3175, allocations: 63.89 kB / 1.244 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.3176, allocations: 59.84 kB / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.3177, allocations: 19.94 kB / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.3178, allocations: 27.98 kB / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.3178, allocations: 8 kB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.73e-05/0.3179, allocations: 67.75 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.3182, allocations: 151.5 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3182, allocations: 0 / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3182, allocations: 4 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.3182, allocations: 0 / 1.244 GB, free: 7.57 MB / 0.9981 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.000558/0.3188, allocations: 434.7 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3188, allocations: 12.03 kB / 1.244 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.3188, allocations: 30.75 kB / 1.245 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.3189, allocations: 16.88 kB / 1.245 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.319, allocations: 164.3 kB / 1.245 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3191, allocations: 16.38 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.3191, allocations: 12.38 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3192, allocations: 50.17 kB / 1.245 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3192, allocations: 3.938 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3193, allocations: 4 kB / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3193, allocations: 0 / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.071e-05/0.3193, allocations: 12 kB / 1.245 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.3198, allocations: 352.7 kB / 1.245 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.155e-05/0.3199, allocations: 42.5 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.3199, allocations: 16.86 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.32, allocations: 0 / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.3201, allocations: 75.45 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.654e-06/0.3202, allocations: 0 / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002731/0.3204, allocations: 113.5 kB / 1.245 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3205, allocations: 55.41 kB / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.3206, allocations: 114.1 kB / 1.246 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3206, allocations: 29.7 kB / 1.246 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.3207, allocations: 100.1 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.3207, allocations: 12 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3208, allocations: 53.62 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.321, allocations: 322.8 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3211, allocations: 55.97 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.3213, allocations: 96.27 kB / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.3215, allocations: 155.6 kB / 1.246 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3215, allocations: 0 / 1.246 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004568/0.322, allocations: 264.8 kB / 1.247 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.778e-05/0.3221, allocations: 71.39 kB / 1.247 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3221, allocations: 3.938 kB / 1.247 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3221, allocations: 0 / 1.247 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.988e-05/0.3221, allocations: 4 kB / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3221, allocations: 0 / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.3225, allocations: 59.95 kB / 1.247 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.3226, allocations: 19.97 kB / 1.247 GB, free: 4.539 MB / 0.9981 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,or1.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.0001203/0.3227, allocations: 126.3 kB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.3227, allocations: 7.953 kB / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3227, allocations: 8.359 kB / 1.247 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3227, allocations: 0 / 1.247 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3228, allocations: 0 / 1.247 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3228, allocations: 3.938 kB / 1.247 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3229, allocations: 185.6 kB / 1.247 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.323, allocations: 0 / 1.247 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.323, allocations: 7.984 kB / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.323, allocations: 64 / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.323, allocations: 4 kB / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.323, allocations: 96 / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.323, allocations: 3.938 kB / 1.247 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.3232, allocations: 113 kB / 1.247 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.3232, allocations: 85.11 kB / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3233, allocations: 0 / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.3233, allocations: 0 / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3233, allocations: 7.984 kB / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.3233, allocations: 4 kB / 1.247 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.3234, allocations: 95.2 kB / 1.247 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3234, allocations: 0 / 1.247 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002499/0.3237, allocations: 28 kB / 1.247 GB, free: 3.77 MB / 0.9981 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,or1.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.0005262/0.3242, allocations: 0.6595 MB / 1.248 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.3246, allocations: 242.7 kB / 1.248 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3246, allocations: 4 kB / 1.248 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.3247, allocations: 31.92 kB / 1.248 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.3249, allocations: 26.17 kB / 1.248 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.327, allocations: 1.71 MB / 1.25 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3273, allocations: 0.6924 MB / 1.251 GB, free: 220 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.3273, allocations: 4 kB / 1.251 GB, free: 216 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.3274, allocations: 23.42 kB / 1.251 GB, free: 192 kB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.3274, allocations: 0 / 1.251 GB, free: 192 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5673/0.8947, allocations: 2.875 MB / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.67, allocations: 11.45 kB / 1.253 GB, free: 14.29 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches