Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.008791/0.008791, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.00207/0.00207, allocations: 187.9 kB / 16.67 MB, free: 5.918 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.402/1.402, 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 10.1.1-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3062, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002224/0.3085, allocations: 0.703 MB / 1.167 GB, free: 6.609 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3103, allocations: 1.273 MB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.3104, allocations: 0 / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.3104, allocations: 3.938 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.81e-05/0.3106, allocations: 19.86 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009258/0.3115, allocations: 310.7 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.3119, allocations: 283.5 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.312, allocations: 16.19 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.3122, allocations: 103.8 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.3124, allocations: 91.73 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.194e-05/0.3125, allocations: 20 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3126, allocations: 43.92 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.3126, allocations: 8 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.3127, allocations: 87.73 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.3131, allocations: 215.6 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3131, allocations: 0 / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3131, allocations: 4 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3131, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006647/0.3138, allocations: 0.4924 MB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3138, allocations: 8.031 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.3139, allocations: 38.69 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.3139, allocations: 16.89 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3141, allocations: 176.3 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3141, allocations: 8.375 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.3141, allocations: 16.38 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3143, allocations: 65.92 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3143, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3143, allocations: 4 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3143, allocations: 0 / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.759e-05/0.3144, allocations: 19.98 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006765/0.3151, allocations: 412.5 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.433e-05/0.3152, allocations: 34.45 kB / 1.171 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.3152, allocations: 28.94 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.3153, allocations: 0 / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.3155, allocations: 103.4 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.3156, allocations: 0 / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.000385/0.3159, allocations: 137.5 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.316, allocations: 59.34 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3162, allocations: 140.7 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.3162, allocations: 33.7 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3164, allocations: 92.14 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.3164, allocations: 19.84 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.3166, allocations: 69.67 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3168, allocations: 322.8 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.317, allocations: 91.95 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3173, allocations: 137.9 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.3176, allocations: 234 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3177, allocations: 0 / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007289/0.3184, allocations: 370.9 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.3185, allocations: 101.1 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3185, allocations: 0 / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.3186, allocations: 7.984 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.854e-05/0.3186, allocations: 11.92 kB / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.3186, allocations: 4.125 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/0.3192, allocations: 87.8 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.3193, allocations: 15.98 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001932/0.3195, allocations: 129.8 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.3195, allocations: 11.95 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.3196, allocations: 16.36 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.3196, allocations: 4 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3196, allocations: 0 / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3196, allocations: 0 / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.3198, allocations: 189.6 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3199, allocations: 4 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.3199, allocations: 7.922 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3199, allocations: 0 / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3199, allocations: 4 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3199, allocations: 7.938 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3199, allocations: 0 / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.3202, allocations: 141 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.3203, allocations: 85.06 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3203, allocations: 0 / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.928e-05/0.3204, allocations: 4 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.3204, allocations: 11.98 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3204, allocations: 4 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.878e-05/0.3205, allocations: 107.2 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3206, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003025/0.3209, allocations: 43.94 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005653/0.3214, allocations: 0.6811 MB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.3219, allocations: 378 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3219, allocations: 0 / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/0.322, allocations: 35.98 kB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3223, allocations: 15.98 kB / 1.174 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.3251, allocations: 2.069 MB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.3256, allocations: 0.6962 MB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.756e-05/0.3257, allocations: 8.422 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.3257, allocations: 23.44 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of SimCode: time 9.62e-07/0.3257, allocations: 4 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.3485, allocations: 3.827 MB / 1.181 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.799/8.147, allocations: 2.344 kB / 1.181 GB, free: 7.797 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches