Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_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.000947/0.000947, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006006/0.006006, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.737/2.737, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004299, allocations: 9.594 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3237, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0009789/0.3247, allocations: 393.7 kB / 1.059 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3265, allocations: 1.209 MB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.3266, allocations: 0 / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.3267, allocations: 3.938 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.194e-05/0.3267, allocations: 15.92 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.3274, allocations: 197.4 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.3275, allocations: 151.7 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.3277, allocations: 15.98 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3278, allocations: 59.88 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.3279, allocations: 47.88 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.3279, allocations: 8 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.525e-05/0.328, allocations: 23.98 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.3281, allocations: 11.88 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.457e-05/0.3282, allocations: 73.58 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.3284, allocations: 147.8 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3284, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3284, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.3284, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 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.0006037/0.329, allocations: 410.8 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.3291, allocations: 15.97 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.3292, allocations: 34.75 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/0.3292, allocations: 8.938 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3294, allocations: 176.2 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.3294, allocations: 4.375 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.3295, allocations: 8.375 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3296, allocations: 54.23 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3296, allocations: 11.88 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3296, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3297, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.3297, allocations: 16 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.3303, allocations: 356.7 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/0.3304, allocations: 38.56 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.3305, allocations: 20.88 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.3305, allocations: 0 / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.3307, allocations: 91.28 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.3307, allocations: 0 / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002706/0.331, allocations: 101.9 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3311, allocations: 55.34 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3312, allocations: 121.7 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.3312, allocations: 33.7 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.3313, allocations: 88.14 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.3313, allocations: 15.81 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.3314, allocations: 25.7 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3315, allocations: 318.8 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3316, allocations: 63.95 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.3318, allocations: 89.64 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.332, allocations: 172 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.332, allocations: 0 / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004251/0.3325, allocations: 264.8 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.3325, allocations: 67.39 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3325, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3326, allocations: 4.125 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.391e-05/0.3326, allocations: 11.94 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3326, allocations: 8.062 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.333, allocations: 75.92 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.333, allocations: 8 kB / 1.064 GB, free: 15.48 MB / 0.8262 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.0001036/0.3332, allocations: 132.2 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.3332, allocations: 11.89 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.3332, allocations: 8.375 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3332, allocations: 0 / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3332, allocations: 0 / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3332, allocations: 4 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.3334, allocations: 181.6 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3334, allocations: 0 / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.3334, allocations: 7.938 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3334, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3334, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3334, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3334, allocations: 4 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.3336, allocations: 113 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.3336, allocations: 81.11 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.3336, allocations: 3.984 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.3337, allocations: 0 / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.3337, allocations: 8.062 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.3337, allocations: 11.98 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.3338, allocations: 91.22 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.204e-06/0.3338, allocations: 0 / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002338/0.334, allocations: 39.92 kB / 1.064 GB, free: 14.71 MB / 0.8262 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.0004278/0.3345, allocations: 0.6514 MB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.3348, allocations: 242.7 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3348, allocations: 3.938 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.3349, allocations: 31.92 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.3351, allocations: 20.23 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.3371, allocations: 1.717 MB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.3373, allocations: 0.6887 MB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.3374, allocations: 7.938 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.3374, allocations: 15.44 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3374, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.3502, allocations: 2.624 MB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.3505, allocations: 196.8 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.018, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches