Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001289/0.001289, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001437/0.001437, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.894/2.894, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_11_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.002045/0.002045, allocations: 68.05 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3877, allocations: 170 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002433/0.3901, allocations: 0.6528 MB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.3922, allocations: 1.235 MB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.3923, allocations: 0 / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.3923, allocations: 0 / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.396e-05/0.3924, allocations: 11.88 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008159/0.3932, allocations: 218.3 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.3935, allocations: 171.8 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.3936, allocations: 11.98 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.3938, allocations: 79.75 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.394, allocations: 63.86 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.394, allocations: 12 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.542e-05/0.3941, allocations: 31.98 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.3941, allocations: 15.92 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/0.3942, allocations: 51.89 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.3945, allocations: 155.1 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3945, allocations: 0 / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3945, allocations: 0 / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3945, allocations: 4 kB / 1.286 GB, free: 9.086 MB / 0.9825 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.0007052/0.3952, allocations: 365.5 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3953, allocations: 8.031 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.3953, allocations: 34.75 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.3954, allocations: 4.938 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3955, allocations: 114.4 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3955, allocations: 8.359 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.3956, allocations: 16.38 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3957, allocations: 42.25 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3957, allocations: 7.938 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3957, allocations: 3.984 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3957, allocations: 4 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.3958, allocations: 19.98 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.3964, allocations: 331.7 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.769e-05/0.3965, allocations: 38.56 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.3965, allocations: 16.8 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.3965, allocations: 4 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.3968, allocations: 91.39 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3968, allocations: 0 / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003217/0.3971, allocations: 101.8 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.3972, allocations: 59.41 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.3973, allocations: 121.7 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3973, allocations: 29.7 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.3974, allocations: 96.12 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.3975, allocations: 15.89 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.3976, allocations: 53.69 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3977, allocations: 314.8 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3979, allocations: 63.95 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.3981, allocations: 96.2 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.3983, allocations: 159.6 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3983, allocations: 0 / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004754/0.3987, allocations: 264.8 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.066e-05/0.3988, allocations: 71.52 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.3989, allocations: 4 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3989, allocations: 0 / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.459e-05/0.3989, allocations: 4 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3989, allocations: 0 / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.3992, allocations: 47.94 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.3993, allocations: 15.98 kB / 1.289 GB, free: 6.234 MB / 0.9825 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.0001504/0.3994, allocations: 133.7 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.3994, allocations: 8.422 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.3995, allocations: 16.36 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3995, allocations: 0 / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3995, allocations: 0 / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3995, allocations: 0 / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3997, allocations: 148.6 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3997, allocations: 0 / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.3997, allocations: 3.984 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3997, allocations: 8 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3997, allocations: 7.938 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3997, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3997, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.3999, allocations: 116.9 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.3999, allocations: 11.95 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3999, allocations: 64 / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.25e-05/0.4, allocations: 4 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.4, allocations: 11.98 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.4, allocations: 8 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.624e-05/0.4001, allocations: 91.27 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4001, allocations: 0 / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002506/0.4003, allocations: 24 kB / 1.289 GB, free: 5.582 MB / 0.9825 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.0005941/0.4009, allocations: 0.6592 MB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.4013, allocations: 218.7 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4013, allocations: 0 / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.162e-05/0.4014, allocations: 20 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.4016, allocations: 19.92 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.404, allocations: 1.73 MB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.4044, allocations: 0.6846 MB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.719e-05/0.4045, allocations: 11.98 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.4045, allocations: 15.44 kB / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.4045, allocations: 0 / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.436, allocations: 3.047 MB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.85, allocations: 13.45 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.593099197838455]