Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001945/0.001945, allocations: 104.5 kB / 16.45 MB, free: 6.449 MB / 14.72 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.00246/0.00246, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.524/1.524, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.366/3.366, allocations: 0.49 GB / 0.7916 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002998/0.002998, allocations: 63.47 kB / 1.149 GB, free: 26.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4334, allocations: 176.1 MB / 1.321 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002218/0.4356, allocations: 0.6479 MB / 1.321 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.4376, allocations: 1.226 MB / 1.323 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.4377, allocations: 0 / 1.323 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.4377, allocations: 7.875 kB / 1.323 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.73e-05/0.4378, allocations: 7.922 kB / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.4387, allocations: 227.5 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.4389, allocations: 163.8 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.439, allocations: 15.98 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.4392, allocations: 71.81 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.4394, allocations: 67.84 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.4394, allocations: 12 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.4395, allocations: 31.98 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.4395, allocations: 15.92 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.4396, allocations: 51.89 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.4399, allocations: 155.8 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4399, allocations: 0 / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4399, allocations: 0 / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.4399, allocations: 0 / 1.323 GB, free: 0.7812 MB / 1.014 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.0007235/0.4406, allocations: 446.6 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/0.4407, allocations: 11.98 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.4407, allocations: 30.75 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.4408, allocations: 12.94 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.441, allocations: 172.3 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.441, allocations: 8.359 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.4411, allocations: 12.45 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.4412, allocations: 46.25 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4412, allocations: 3.938 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.4412, allocations: 4 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4412, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.756e-05/0.4413, allocations: 23.97 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.4419, allocations: 360.5 kB / 1.325 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.442, allocations: 34.56 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.442, allocations: 16.86 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.442, allocations: 0 / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.4422, allocations: 83.45 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.4422, allocations: 3.938 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000281/0.4424, allocations: 105.6 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.4425, allocations: 55.39 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.4426, allocations: 125.7 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.4427, allocations: 33.7 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.4427, allocations: 92.12 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.4427, allocations: 11.91 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.4429, allocations: 53.69 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.443, allocations: 326.8 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.4431, allocations: 55.97 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.4433, allocations: 96.19 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.4435, allocations: 159.6 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4435, allocations: 0 / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004735/0.444, allocations: 264.8 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.4441, allocations: 71.39 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4441, allocations: 4.125 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4441, allocations: 4 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.971e-05/0.4441, allocations: 0 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.4441, allocations: 4 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.4445, allocations: 52.36 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.4445, allocations: 15.98 kB / 1.326 GB, free: 13.72 MB / 1.029 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.0001185/0.4447, allocations: 134.4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.4447, allocations: 7.984 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.4447, allocations: 8.375 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4447, allocations: 3.938 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4447, allocations: 0 / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4447, allocations: 4 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.4449, allocations: 185.5 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4449, allocations: 8.062 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-06/0.4449, allocations: 0 / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4449, allocations: 0 / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4449, allocations: 4 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.4449, allocations: 4 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4449, allocations: 0 / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.4451, allocations: 109 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.4451, allocations: 89 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.4451, allocations: 0 / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.671e-05/0.4452, allocations: 7.984 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.4452, allocations: 4 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.4452, allocations: 8 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.4453, allocations: 91.27 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4453, allocations: 0 / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002442/0.4455, allocations: 32 kB / 1.327 GB, free: 12.94 MB / 1.029 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.0005237/0.446, allocations: 0.6553 MB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.4464, allocations: 222.7 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4464, allocations: 0 / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.099e-05/0.4465, allocations: 24.45 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.4467, allocations: 26.25 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.4491, allocations: 1.731 MB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.4495, allocations: 0.6846 MB / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.861e-05/0.4495, allocations: 4 kB / 1.33 GB, free: 9.398 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.4496, allocations: 23.44 kB / 1.33 GB, free: 9.375 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.4496, allocations: 0 / 1.33 GB, free: 9.375 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.4781, allocations: 2.904 MB / 1.333 GB, free: 6.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.619, allocations: 9.438 kB / 1.333 GB, free: 6.566 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable xor1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! Error: Could not read variable xor1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv. Warning: Get data of variable xor1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.706778802908957]