Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001304/0.001304, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001458/0.001458, allocations: 219.6 kB / 22.25 MB, free: 5.258 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.199/3.199, allocations: 0.49 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_12_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.002087/0.002087, allocations: 68.58 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3843, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00186/0.3862, allocations: 0.6504 MB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.3878, allocations: 1.194 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.3878, allocations: 3.938 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.3879, allocations: 7.922 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.388, allocations: 15.92 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.3886, allocations: 215.2 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.3888, allocations: 175.7 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.3889, allocations: 15.98 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.887e-05/0.389, allocations: 71.83 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.3891, allocations: 67.83 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.3892, allocations: 16 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.3892, allocations: 28 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.3893, allocations: 11.92 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.759e-05/0.3893, allocations: 55.89 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3896, allocations: 147.9 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3896, allocations: 0 / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3896, allocations: 4 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3896, allocations: 7.922 kB / 1.328 GB, free: 14.87 MB / 1.029 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.0005012/0.3901, allocations: 357.5 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3901, allocations: 12.03 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.3901, allocations: 38.67 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.3902, allocations: 8.938 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3903, allocations: 122.5 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.3903, allocations: 4.375 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.3904, allocations: 8.375 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.3905, allocations: 54.23 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3905, allocations: 3.938 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3905, allocations: 8 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3905, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.26e-05/0.3905, allocations: 15.98 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.391, allocations: 299.8 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.3911, allocations: 30.58 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.3911, allocations: 20.94 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.3911, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.3913, allocations: 83.27 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3913, allocations: 0 / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002446/0.3915, allocations: 109.6 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.3916, allocations: 59.39 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/0.3917, allocations: 117.8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.3917, allocations: 33.7 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.3918, allocations: 88.14 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.3918, allocations: 15.89 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.3919, allocations: 49.69 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.392, allocations: 318.8 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.3922, allocations: 127.3 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.3924, allocations: 155.7 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.3926, allocations: 159.6 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3926, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004562/0.3931, allocations: 324.2 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/0.3931, allocations: 71.33 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3931, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3931, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.887e-05/0.3931, allocations: 8.109 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3932, allocations: 8.25 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.3935, allocations: 55.89 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.3935, allocations: 11.98 kB / 1.331 GB, free: 11.83 MB / 1.029 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.0001072/0.3936, allocations: 126.2 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.3936, allocations: 4.469 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.3937, allocations: 12.38 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3937, allocations: 4 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3937, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3937, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.3938, allocations: 152.6 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3938, allocations: 0 / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.3938, allocations: 4 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3938, allocations: 0 / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3938, allocations: 4 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3938, allocations: 0 / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3938, allocations: 3.984 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.394, allocations: 121 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.394, allocations: 15.94 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.394, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.394, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.3941, allocations: 11.98 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3941, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.3941, allocations: 91.27 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3941, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002304/0.3944, allocations: 28 kB / 1.332 GB, free: 11.19 MB / 1.029 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.0004847/0.3949, allocations: 0.6553 MB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.3952, allocations: 286.1 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3952, allocations: 0 / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.778e-05/0.3953, allocations: 19.98 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.3955, allocations: 21.8 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3978, allocations: 1.973 MB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.343e-05/0.3978, allocations: 79.5 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.3979, allocations: 11.97 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.3979, allocations: 11.44 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3979, allocations: 4 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.4281, allocations: 3.669 MB / 1.338 GB, free: 4.375 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.52, allocations: 13.97 kB / 1.338 GB, free: 4.367 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.352190923003945]