Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002305/0.002305, allocations: 215.8 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.204/3.204, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 63.02 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4089, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001884/0.4107, allocations: 0.6606 MB / 1.354 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.4124, allocations: 1.226 MB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.4125, allocations: 4 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.4125, allocations: 7.938 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.4126, allocations: 3.938 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.4133, allocations: 222.7 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.4135, allocations: 179.7 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.4136, allocations: 11.98 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.4138, allocations: 67.89 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.4139, allocations: 67.84 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.414, allocations: 16 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-05/0.414, allocations: 31.98 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.4141, allocations: 7.938 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.4142, allocations: 59.88 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.4144, allocations: 163.7 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4144, allocations: 0 / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4144, allocations: 0 / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4144, allocations: 0 / 1.356 GB, free: 5.715 MB / 1.045 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.0006065/0.415, allocations: 365.5 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4151, allocations: 12.03 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.4151, allocations: 30.75 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.4152, allocations: 12.89 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.4153, allocations: 114.5 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.4153, allocations: 4.375 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.4153, allocations: 8.375 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.4155, allocations: 50.25 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4155, allocations: 7.922 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.4155, allocations: 0 / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4155, allocations: 0 / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.445e-05/0.4155, allocations: 19.94 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.4161, allocations: 331.7 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.4162, allocations: 34.56 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.4162, allocations: 12.86 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.4162, allocations: 0 / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.4164, allocations: 87.39 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4164, allocations: 0 / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002718/0.4167, allocations: 109.6 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.4168, allocations: 55.41 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.4169, allocations: 121.7 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.4169, allocations: 29.7 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.417, allocations: 96.08 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.417, allocations: 11.95 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.667e-05/0.4171, allocations: 50.06 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4172, allocations: 326.8 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.4174, allocations: 55.97 kB / 1.357 GB, free: 3.605 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.4175, allocations: 96.19 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.4177, allocations: 155.6 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.4177, allocations: 4 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004464/0.4182, allocations: 268.8 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/0.4182, allocations: 67.39 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4182, allocations: 64 / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4183, allocations: 11.98 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.366e-05/0.4183, allocations: 12.06 kB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.4183, allocations: 0 / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.4186, allocations: 59.88 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.4186, allocations: 8 kB / 1.358 GB, free: 2.863 MB / 1.045 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,xor1.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.0001247/0.4188, allocations: 139.7 kB / 1.358 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.4188, allocations: 11.95 kB / 1.358 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.4188, allocations: 8.375 kB / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4188, allocations: 4 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4188, allocations: 0 / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4188, allocations: 0 / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.419, allocations: 152.7 kB / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.419, allocations: 0 / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.419, allocations: 3.938 kB / 1.358 GB, free: 2.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.419, allocations: 0 / 1.358 GB, free: 2.5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.419, allocations: 4 kB / 1.358 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.419, allocations: 0 / 1.358 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.419, allocations: 4 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.4192, allocations: 109 kB / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.4192, allocations: 3.953 kB / 1.358 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4193, allocations: 4.094 kB / 1.358 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.223e-05/0.4193, allocations: 7.922 kB / 1.358 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.4193, allocations: 11.94 kB / 1.358 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.4193, allocations: 7.984 kB / 1.358 GB, free: 2.332 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.608e-05/0.4194, allocations: 87.28 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4194, allocations: 4 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002389/0.4196, allocations: 24 kB / 1.359 GB, free: 2.219 MB / 1.045 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,xor1.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.0005918/0.4202, allocations: 0.6595 MB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.4206, allocations: 222.8 kB / 1.359 GB, free: 1.289 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4206, allocations: 0 / 1.359 GB, free: 1.289 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.281e-05/0.4207, allocations: 27.92 kB / 1.359 GB, free: 1.262 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.4209, allocations: 11.98 kB / 1.359 GB, free: 1.25 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.4231, allocations: 1.727 MB / 1.361 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.4234, allocations: 0.6885 MB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.4234, allocations: 4 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.4235, allocations: 19.44 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of SimCode: time 5e-07/0.4235, allocations: 4.562 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.4537, allocations: 3.042 MB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.3, allocations: 6.734 kB / 1.365 GB, free: 11.77 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable xor1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.193712698000127]