Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006597/0.006597, allocations: 101.4 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 196.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.492/2.492, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.89 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.891, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001791/0.8928, allocations: 0.6679 MB / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.8942, allocations: 1.189 MB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.8943, allocations: 0 / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.8943, allocations: 3.938 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.133e-05/0.8944, allocations: 19.84 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.8951, allocations: 221.2 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.8953, allocations: 187.7 kB / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.8954, allocations: 11.98 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.8955, allocations: 63.95 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.8956, allocations: 75.7 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.8957, allocations: 16 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.374e-05/0.8958, allocations: 27.98 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.8958, allocations: 8 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.187e-05/0.8959, allocations: 59.81 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.8961, allocations: 149.8 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8961, allocations: 0 / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8961, allocations: 0 / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.8961, allocations: 4 kB / 1.169 GB, free: 1.09 MB / 0.8887 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.0005154/0.8966, allocations: 434.7 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.8967, allocations: 12.92 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.8967, allocations: 34.75 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.8968, allocations: 12.83 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.8969, allocations: 172.2 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.8969, allocations: 8.375 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.8969, allocations: 12.38 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.8971, allocations: 54.17 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.8971, allocations: 3.938 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.8971, allocations: 0 / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8971, allocations: 0 / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.228e-05/0.8972, allocations: 23.98 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.8976, allocations: 348.8 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.35e-05/0.8977, allocations: 34.52 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.8977, allocations: 16.94 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.8978, allocations: 4 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.8979, allocations: 79.38 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.898, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0002434/0.8982, allocations: 113.5 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.8982, allocations: 51.41 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.8983, allocations: 121.8 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.8984, allocations: 29.7 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.8984, allocations: 96.05 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.8985, allocations: 11.89 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/0.8986, allocations: 53.69 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.8987, allocations: 318.8 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.8988, allocations: 59.97 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.899, allocations: 92.75 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.8992, allocations: 163.5 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8992, allocations: 0 / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004029/0.8996, allocations: 265 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.8997, allocations: 67.39 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.8997, allocations: 3.938 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.8997, allocations: 7.938 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.979e-05/0.8997, allocations: 4.125 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.8997, allocations: 4 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.9001, allocations: 59.78 kB / 1.171 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.9001, allocations: 11.98 kB / 1.171 GB, free: 14.05 MB / 0.9044 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 9.407e-05/0.9002, allocations: 124.2 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.9002, allocations: 8 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.9003, allocations: 8.844 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.9003, allocations: 0 / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9003, allocations: 4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.9003, allocations: 7.969 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.9004, allocations: 185.4 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9004, allocations: 3.938 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-06/0.9005, allocations: 0 / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.9005, allocations: 0 / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.9005, allocations: 11.98 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9005, allocations: 0 / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9005, allocations: 4 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.9006, allocations: 113.3 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.9007, allocations: 81.02 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.9007, allocations: 0 / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.9007, allocations: 4 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.9008, allocations: 7.984 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.9008, allocations: 4 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.047e-05/0.9009, allocations: 99.2 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9009, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002317/0.9011, allocations: 28 kB / 1.172 GB, free: 13.27 MB / 0.9044 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.0004497/0.9016, allocations: 0.6592 MB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.9019, allocations: 246.8 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9019, allocations: 0 / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.117e-05/0.902, allocations: 31.92 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.9022, allocations: 15.98 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.9041, allocations: 1.726 MB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.9043, allocations: 0.6923 MB / 1.175 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.9044, allocations: 4 kB / 1.175 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.9044, allocations: 23.42 kB / 1.175 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9044, allocations: 4 kB / 1.175 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.9244, allocations: 2.884 MB / 1.178 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/8.489, allocations: 19.88 kB / 1.178 GB, free: 6.883 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches