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.001826/0.001826, 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.002101/0.002101, allocations: 215.2 kB / 22.25 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.02 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.204/3.204, allocations: 0.49 GB / 0.7951 GB, free: 33.33 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.002/0.002, allocations: 69.33 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001833/0.3408, allocations: 0.6655 MB / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3424, allocations: 1.226 MB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.3425, allocations: 7.938 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.3425, allocations: 7.938 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.549e-05/0.3425, allocations: 11.81 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006585/0.3432, allocations: 221.9 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.3434, allocations: 167.8 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.667e-05/0.3435, allocations: 15.98 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.749e-05/0.3436, allocations: 67.89 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.3438, allocations: 71.78 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.3438, allocations: 16 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.868e-05/0.3439, allocations: 31.98 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.3439, allocations: 11.94 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.011e-05/0.344, allocations: 55.88 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3442, allocations: 155.8 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3442, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3442, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.3442, allocations: 0 / 1.329 GB, free: 15.23 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.0005175/0.3447, allocations: 369.5 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3448, allocations: 8.031 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.3448, allocations: 34.75 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.3449, allocations: 8.938 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.345, allocations: 114.5 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.345, allocations: 8.312 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.345, allocations: 12.38 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.3451, allocations: 46.25 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3451, allocations: 3.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3452, allocations: 3.984 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3452, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.556e-05/0.3452, allocations: 16 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.3457, allocations: 323.8 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.3458, allocations: 42.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.3458, allocations: 20.84 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.3458, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.346, allocations: 87.41 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.346, allocations: 4 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002654/0.3463, allocations: 109.5 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.3463, allocations: 59.34 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3464, allocations: 113.8 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.3465, allocations: 33.7 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.3465, allocations: 88.12 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.3466, allocations: 15.91 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.3466, allocations: 49.69 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3468, allocations: 326.8 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3469, allocations: 59.97 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.3471, allocations: 88.25 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.3473, allocations: 163.6 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3473, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004491/0.3478, allocations: 272.8 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.231e-05/0.3478, allocations: 67.39 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3478, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3479, allocations: 4.594 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.292e-05/0.3479, allocations: 4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3479, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.3482, allocations: 51.89 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.3482, allocations: 11.98 kB / 1.331 GB, free: 12.38 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.0001301/0.3484, allocations: 138.1 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.3484, allocations: 11.98 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.3484, allocations: 4.375 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3484, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3484, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3484, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.3486, allocations: 152.7 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3486, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.3486, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3486, allocations: 4 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.3486, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3486, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3486, allocations: 4 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3488, allocations: 116.9 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.3488, allocations: 7.953 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3488, allocations: 3.938 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.682e-05/0.3488, allocations: 8.047 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.3489, allocations: 8 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.3489, allocations: 7.984 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.024e-05/0.3489, allocations: 91.28 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3489, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002374/0.3492, allocations: 28 kB / 1.332 GB, free: 11.72 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.0005368/0.3497, allocations: 0.6595 MB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.3501, allocations: 222.7 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3501, allocations: 0 / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.3501, allocations: 23.98 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3503, allocations: 16.27 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.3525, allocations: 1.729 MB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3529, allocations: 0.6885 MB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.004e-05/0.3529, allocations: 4 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.353, allocations: 15.44 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.353, allocations: 8 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.3846, allocations: 3.039 MB / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.31, allocations: 3.703 kB / 1.338 GB, free: 5.27 MB / 1.029 GB " [Timeout remaining time 289] (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.091221071999826]