Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.000859/0.000859, allocations: 80.52 kB / 19.96 MB, free: 4.586 MB / 18.57 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.001207/0.001207, allocations: 169.2 kB / 23.24 MB, free: 1.305 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.9677/0.9677, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.872/1.872, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.583e-05, allocations: 2.281 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001106/0.001122, allocations: 0.6375 MB / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.002192, allocations: 1.21 MB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.002232, allocations: 0 / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.002256, allocations: 7.938 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.002326, allocations: 15.88 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.002775, allocations: 217.7 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.002941, allocations: 179.7 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.00303, allocations: 11.92 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.003136, allocations: 99.86 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-05/0.003236, allocations: 59.78 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.003262, allocations: 16 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.283e-05/0.003325, allocations: 27.98 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.003345, allocations: 7.984 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.003405, allocations: 55.89 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.003589, allocations: 183.6 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003591, allocations: 0 / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003592, allocations: 0 / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.003595, allocations: 0 / 1.003 GB, free: 10.74 MB / 0.9636 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.0004077/0.004003, allocations: 357.5 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.004041, allocations: 13.34 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.00407, allocations: 34.75 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.004109, allocations: 8.938 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.004453, allocations: 125.6 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.004467, allocations: 4.375 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.004486, allocations: 12.36 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.848e-05/0.004574, allocations: 54.19 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.004582, allocations: 4.172 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004591, allocations: 384 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.004595, allocations: 4.125 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.402e-05/0.004629, allocations: 15.98 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.004967, allocations: 295.9 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/0.005029, allocations: 34.56 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.005052, allocations: 16.86 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.005059, allocations: 3.938 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.00517, allocations: 83.41 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.00517, allocations: 4 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0001866/0.005357, allocations: 97.61 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.005386, allocations: 59.39 kB / 1.005 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.005458, allocations: 121.7 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.005479, allocations: 33.7 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.005523, allocations: 92.12 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.005534, allocations: 15.91 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.005593, allocations: 49.69 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.005664, allocations: 318.8 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.005778, allocations: 119.4 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.005899, allocations: 159.6 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.00602, allocations: 155.6 kB / 1.006 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.006023, allocations: 7.938 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002906/0.006314, allocations: 328.2 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.00635, allocations: 67.39 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.006355, allocations: 0 / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.006366, allocations: 4.062 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.915e-05/0.006386, allocations: 4 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.006392, allocations: 4 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.006578, allocations: 60 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.006599, allocations: 11.98 kB / 1.006 GB, free: 7.703 MB / 0.9636 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.632e-05/0.006665, allocations: 128.3 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.006674, allocations: 7.953 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.006694, allocations: 16.83 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006696, allocations: 4 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.0067, allocations: 0 / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006703, allocations: 0 / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.797e-05/0.006781, allocations: 144.7 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006782, allocations: 7.938 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-06/0.006786, allocations: 3.984 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.006787, allocations: 0 / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.006793, allocations: 4 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006793, allocations: 0 / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006794, allocations: 0 / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.006895, allocations: 117 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.006903, allocations: 7.953 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.006913, allocations: 0 / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.259e-05/0.006926, allocations: 4 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.006962, allocations: 7.984 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.006966, allocations: 8 kB / 1.006 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.006999, allocations: 91.27 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006999, allocations: 0 / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001562/0.007155, allocations: 32 kB / 1.007 GB, free: 7.062 MB / 0.9636 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.0002837/0.007439, allocations: 0.663 MB / 1.007 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.007671, allocations: 278.1 kB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.007672, allocations: 0 / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.007701, allocations: 24.23 kB / 1.007 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.007854, allocations: 19.98 kB / 1.008 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.009285, allocations: 1.961 MB / 1.009 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.009331, allocations: 70.39 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.009355, allocations: 7.859 kB / 1.009 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.009389, allocations: 28.48 kB / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.00939, allocations: 96 / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07588/0.08527, allocations: 3.77 MB / 1.013 GB, free: 180 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/7.474, allocations: 3.938 kB / 1.013 GB, free: 176 kB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.1502302037552]