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.0009646/0.0009646, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009796/0.0009796, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.902/0.902, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.67/1.67, 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 1.843e-06/1.843e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.813e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001461/0.001479, allocations: 0.6537 MB / 0.9511 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.002864, allocations: 1.206 MB / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.00292, allocations: 4 kB / 0.9523 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.002954, allocations: 3.938 kB / 0.9523 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.777e-05/0.003032, allocations: 19.84 kB / 0.9523 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006132/0.003645, allocations: 209.2 kB / 0.9525 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.003829, allocations: 171.7 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.003921, allocations: 15.92 kB / 0.9527 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.004033, allocations: 99.8 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.004136, allocations: 47.91 kB / 0.9529 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.004161, allocations: 19.94 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-05/0.004223, allocations: 32 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.004243, allocations: 7.969 kB / 0.9529 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.004301, allocations: 47.97 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.004491, allocations: 187.5 kB / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004493, allocations: 0 / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.403e-06/0.004494, allocations: 0 / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.004498, allocations: 0 / 0.9532 GB, free: 0.7266 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.0004218/0.00492, allocations: 361.5 kB / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.004969, allocations: 8.031 kB / 0.9535 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.004998, allocations: 38.69 kB / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.005041, allocations: 16.89 kB / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.489e-05/0.005126, allocations: 113.7 kB / 0.9537 GB, free: 124 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.00514, allocations: 4.375 kB / 0.9537 GB, free: 120 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.005161, allocations: 12.38 kB / 0.9537 GB, free: 108 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.005274, allocations: 54.17 kB / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.005282, allocations: 192 / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005291, allocations: 4.312 kB / 0.9537 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.005299, allocations: 8.125 kB / 0.9537 GB, free: 36 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.005338, allocations: 12 kB / 0.9538 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.005784, allocations: 291.9 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/0.005863, allocations: 38.52 kB / 0.9541 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.005888, allocations: 20.94 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.0059, allocations: 3.938 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.006087, allocations: 83.38 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.006089, allocations: 0 / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002333/0.006322, allocations: 109.5 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.006363, allocations: 51.41 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.952e-05/0.006442, allocations: 121.8 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.006467, allocations: 33.7 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.006517, allocations: 92.09 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.006539, allocations: 11.91 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.006606, allocations: 49.69 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.006684, allocations: 322.8 kB / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.006802, allocations: 119.4 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.006919, allocations: 158.3 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.007047, allocations: 164 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.007051, allocations: 7.938 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002977/0.007348, allocations: 324.3 kB / 0.9557 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.007388, allocations: 71.39 kB / 0.9557 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.007393, allocations: 0 / 0.9557 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.007406, allocations: 0 / 0.9557 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.857e-05/0.007424, allocations: 4 kB / 0.9557 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.007432, allocations: 3.984 kB / 0.9557 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.007632, allocations: 59.95 kB / 0.9558 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.007652, allocations: 16 kB / 0.9558 GB, free: 13.68 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 7.766e-05/0.00773, allocations: 125.8 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.00774, allocations: 7.953 kB / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.007761, allocations: 12.38 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.007763, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.007768, allocations: 3.938 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007772, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.009e-05/0.007862, allocations: 144.7 kB / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007863, allocations: 0 / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-06/0.00787, allocations: 8 kB / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.007872, allocations: 0 / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.007879, allocations: 4 kB / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.00788, allocations: 320 / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.007882, allocations: 4 kB / 0.9561 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.007989, allocations: 113 kB / 0.9562 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.007998, allocations: 7.984 kB / 0.9562 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.008011, allocations: 7.984 kB / 0.9562 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.248e-05/0.008023, allocations: 0 / 0.9562 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.00806, allocations: 7.938 kB / 0.9562 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.008068, allocations: 16.05 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.008104, allocations: 95.22 kB / 0.9564 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008104, allocations: 0 / 0.9564 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001653/0.008269, allocations: 27.98 kB / 0.9564 GB, free: 13.04 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.0005485/0.008818, allocations: 0.6582 MB / 0.957 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000288/0.009106, allocations: 282.1 kB / 0.9573 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.009108, allocations: 0 / 0.9573 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.009138, allocations: 23.94 kB / 0.9573 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.009342, allocations: 22.58 kB / 0.9573 GB, free: 12 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.01083, allocations: 1.976 MB / 0.9593 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.435e-05/0.01087, allocations: 71.25 kB / 0.9593 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.0109, allocations: 7.984 kB / 0.9593 GB, free: 9.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.01094, allocations: 16.5 kB / 0.9594 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.01094, allocations: 0 / 0.9594 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.0287, allocations: 3.781 MB / 0.963 GB, free: 6.133 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.695/6.724, allocations: 9.859 kB / 0.9631 GB, free: 6.125 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 & /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/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.704260973259807]