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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 107.6 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.746/2.746, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001917/0.001917, allocations: 71.89 kB / 1.104 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8118, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002062/0.8139, allocations: 0.6612 MB / 1.269 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.8156, allocations: 1.182 MB / 1.271 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.8157, allocations: 0 / 1.271 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.8157, allocations: 7.938 kB / 1.271 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.934e-05/0.8158, allocations: 23.84 kB / 1.271 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007101/0.8165, allocations: 214.4 kB / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.8168, allocations: 175.7 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.8169, allocations: 11.97 kB / 1.271 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.817, allocations: 67.89 kB / 1.271 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.8172, allocations: 63.78 kB / 1.271 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.8172, allocations: 20 kB / 1.271 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.579e-05/0.8173, allocations: 27.98 kB / 1.271 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.8173, allocations: 11.98 kB / 1.271 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.78e-05/0.8174, allocations: 59.81 kB / 1.271 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.8176, allocations: 149.4 kB / 1.271 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8177, allocations: 3.938 kB / 1.271 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8177, allocations: 0 / 1.271 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.8177, allocations: 0 / 1.271 GB, free: 2.5 MB / 0.9669 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.0006031/0.8183, allocations: 438.7 kB / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.8183, allocations: 12.03 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.8184, allocations: 38.75 kB / 1.272 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.8184, allocations: 8.891 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.8186, allocations: 176.3 kB / 1.272 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.8186, allocations: 4.375 kB / 1.272 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.8187, allocations: 12.38 kB / 1.272 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.8188, allocations: 54.17 kB / 1.272 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.8188, allocations: 3.938 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.8188, allocations: 0 / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8188, allocations: 0 / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.473e-05/0.8189, allocations: 20 kB / 1.272 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.8194, allocations: 352.7 kB / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.779e-05/0.8195, allocations: 34.56 kB / 1.272 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.8195, allocations: 24.86 kB / 1.272 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.8195, allocations: 0 / 1.272 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.8197, allocations: 80.92 kB / 1.273 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.8197, allocations: 0 / 1.273 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002565/0.82, allocations: 113.8 kB / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.82, allocations: 59.34 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.8201, allocations: 121.8 kB / 1.273 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.8202, allocations: 29.7 kB / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/0.8203, allocations: 92.09 kB / 1.273 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.8203, allocations: 15.91 kB / 1.273 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.772e-05/0.8204, allocations: 49.69 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.8205, allocations: 326.8 kB / 1.273 GB, free: 240 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.8207, allocations: 59.97 kB / 1.273 GB, free: 180 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.8208, allocations: 88.25 kB / 1.273 GB, free: 76 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.821, allocations: 159.6 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.821, allocations: 7.938 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004455/0.8215, allocations: 256.9 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.8216, allocations: 67.39 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8216, allocations: 0 / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.8216, allocations: 4 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.792e-05/0.8216, allocations: 16.05 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8216, allocations: 0 / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.8219, allocations: 59.83 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.822, allocations: 11.98 kB / 1.274 GB, free: 15.45 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.0001236/0.8221, allocations: 121.8 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.8221, allocations: 7.953 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.8221, allocations: 12.44 kB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.8221, allocations: 8.469 kB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.8222, allocations: 0 / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8222, allocations: 0 / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.8224, allocations: 185.6 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8224, allocations: 0 / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-06/0.8224, allocations: 7.875 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8224, allocations: 0 / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.8224, allocations: 4 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8224, allocations: 0 / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8224, allocations: 3.984 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.8225, allocations: 113 kB / 1.274 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.8226, allocations: 81.09 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.8226, allocations: 0 / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.8226, allocations: 4 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.8227, allocations: 11.98 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.8227, allocations: 0 / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.358e-05/0.8228, allocations: 95.2 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8228, allocations: 4 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002442/0.823, allocations: 31.94 kB / 1.275 GB, free: 14.67 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.0005535/0.8236, allocations: 0.6559 MB / 1.275 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.8239, allocations: 218.9 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8239, allocations: 4.062 kB / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.341e-05/0.824, allocations: 31.86 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.8242, allocations: 14.17 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.8263, allocations: 1.725 MB / 1.277 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.8267, allocations: 0.6924 MB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.8267, allocations: 7.938 kB / 1.278 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.8267, allocations: 23.42 kB / 1.278 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.8267, allocations: 0 / 1.278 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.8554, allocations: 2.911 MB / 1.281 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.938, allocations: 8.812 kB / 1.281 GB, free: 8.301 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 14.949172954075038]