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.001203/0.001203, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001035/0.001035, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9105/0.9105, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.654/1.654, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.353e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001289/0.001313, allocations: 0.6491 MB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.002596, allocations: 1.21 MB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.002646, allocations: 0 / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.002678, allocations: 7.938 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.002757, allocations: 7.875 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005464/0.003304, allocations: 216 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.003483, allocations: 175.6 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.003592, allocations: 15.92 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.003711, allocations: 91.92 kB / 0.9528 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.003824, allocations: 59.84 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.003851, allocations: 12 kB / 0.9529 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.003921, allocations: 31.98 kB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.003944, allocations: 8 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.004007, allocations: 51.88 kB / 0.953 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.004219, allocations: 179.6 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004222, allocations: 0 / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.263e-06/0.004223, allocations: 4 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.004228, allocations: 0 / 0.9531 GB, free: 0.7734 MB / 0.9011 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.0004362/0.004665, allocations: 357.5 kB / 0.9535 GB, free: 388 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.004704, allocations: 12.02 kB / 0.9535 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.803e-05/0.004732, allocations: 46.69 kB / 0.9535 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.004771, allocations: 8.891 kB / 0.9536 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.586e-05/0.004847, allocations: 113.7 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.004861, allocations: 8.375 kB / 0.9537 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.004881, allocations: 8.375 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.903e-05/0.00498, allocations: 50.23 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.004987, allocations: 192 / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.004997, allocations: 4.375 kB / 0.9537 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.005004, allocations: 4.125 kB / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.814e-05/0.005042, allocations: 15.98 kB / 0.9538 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.005446, allocations: 303.9 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.005517, allocations: 34.56 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.005539, allocations: 16.84 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.00555, allocations: 7.938 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.00569, allocations: 83.45 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.005691, allocations: 0 / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001979/0.005889, allocations: 105.6 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.005927, allocations: 59.41 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.005996, allocations: 113.8 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.006018, allocations: 29.7 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.006066, allocations: 104.1 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.00608, allocations: 11.91 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.006141, allocations: 49.69 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.00622, allocations: 318.8 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.006342, allocations: 119.4 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.006463, allocations: 156.8 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.006596, allocations: 164 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.0066, allocations: 3.938 kB / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003033/0.006903, allocations: 328.3 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.006946, allocations: 67.39 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.006952, allocations: 0 / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.006964, allocations: 7.938 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.784e-05/0.006982, allocations: 4 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.006988, allocations: 4 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.007183, allocations: 59.95 kB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.007204, allocations: 12.3 kB / 0.9558 GB, free: 13.73 MB / 0.9167 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 6.998e-05/0.007274, allocations: 125.7 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.007284, allocations: 7.953 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.007307, allocations: 8.438 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007309, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.007314, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.007319, allocations: 7.984 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.007407, allocations: 144.7 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007408, allocations: 4 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-06/0.007414, allocations: 4 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007416, allocations: 0 / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.007423, allocations: 3.984 kB / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007424, allocations: 4 kB / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007425, allocations: 0 / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.007535, allocations: 121 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.007543, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.007552, allocations: 0 / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.007567, allocations: 0 / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.007603, allocations: 11.98 kB / 0.9562 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.007609, allocations: 8.062 kB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.007645, allocations: 95.2 kB / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007645, allocations: 0 / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001619/0.007807, allocations: 28 kB / 0.9564 GB, free: 13.09 MB / 0.9167 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.0003359/0.008143, allocations: 0.663 MB / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.008668, allocations: 282.1 kB / 0.9573 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.00867, allocations: 0 / 0.9573 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.008701, allocations: 20.23 kB / 0.9573 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.008888, allocations: 22.64 kB / 0.9573 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.01023, allocations: 1.971 MB / 0.9593 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.088e-05/0.01027, allocations: 75.23 kB / 0.9593 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.01029, allocations: 4 kB / 0.9593 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.01033, allocations: 20.48 kB / 0.9593 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.01033, allocations: 4 kB / 0.9594 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.02878, allocations: 3.783 MB / 0.963 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.693, allocations: 5.828 kB / 0.9631 GB, free: 6.168 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins/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] "Error: Could not read variable xor1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.843025150708854]