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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000911/0.000911, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006316/0.006316, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003438, allocations: 12 kB / 0.873 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.7012, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0007824/0.7021, allocations: 397 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.7036, allocations: 1.195 MB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.7036, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.7037, allocations: 7.938 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.786e-05/0.7037, allocations: 7.938 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.7044, allocations: 202.9 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.7045, allocations: 155.6 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.7046, allocations: 15.98 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.7048, allocations: 55.91 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.7049, allocations: 51.84 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.7049, allocations: 8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.149e-05/0.705, allocations: 23.98 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.705, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.7051, allocations: 77.52 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.7053, allocations: 149.8 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7053, allocations: 7.875 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7053, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.7053, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 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.0004482/0.7058, allocations: 410.8 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.7058, allocations: 8.031 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.7059, allocations: 30.75 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.7059, allocations: 8.938 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.7061, allocations: 180.2 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.7061, allocations: 8.375 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.7061, allocations: 8.375 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.7063, allocations: 46.25 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7063, allocations: 3.938 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.7063, allocations: 15.92 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.7063, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.433e-05/0.7064, allocations: 12 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.7068, allocations: 356.8 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.364e-05/0.7069, allocations: 34.56 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.707, allocations: 12.86 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.707, allocations: 11.92 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.7072, allocations: 95.34 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.7072, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002371/0.7074, allocations: 101.7 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.7075, allocations: 55.41 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.7076, allocations: 125.7 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.7076, allocations: 29.7 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.7077, allocations: 92.14 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.7077, allocations: 15.81 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.7077, allocations: 25.7 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.7078, allocations: 319.2 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.708, allocations: 59.95 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.7081, allocations: 96.2 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.7083, allocations: 159.6 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.7083, allocations: 3.938 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003925/0.7087, allocations: 260.8 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.7088, allocations: 71.52 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7088, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7088, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.05e-05/0.7088, allocations: 3.938 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.7088, allocations: 4 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.7092, allocations: 71.88 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.7093, allocations: 19.98 kB / 1.028 GB, free: 10.47 MB / 0.7794 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.0001022/0.7094, allocations: 122.3 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.7094, allocations: 7.891 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.7094, allocations: 12.38 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.7094, allocations: 4 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7095, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7095, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.7096, allocations: 181.6 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7096, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.197e-05/0.7096, allocations: 7.938 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7096, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.7096, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.7096, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7096, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.7098, allocations: 117 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.7098, allocations: 81.11 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.7099, allocations: 4 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.377e-05/0.7099, allocations: 4.078 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.7099, allocations: 7.938 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.71, allocations: 4 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.71, allocations: 91.27 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.71, allocations: 0 / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002356/0.7103, allocations: 40 kB / 1.029 GB, free: 9.703 MB / 0.7794 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.0004244/0.7107, allocations: 0.6552 MB / 1.029 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.711, allocations: 246.8 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.711, allocations: 256 / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/0.7111, allocations: 43.86 kB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.7113, allocations: 12 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.713, allocations: 1.714 MB / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.7133, allocations: 0.6848 MB / 1.032 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.894e-05/0.7133, allocations: 7.984 kB / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.7133, allocations: 23.44 kB / 1.032 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of SimCode: time 4.6e-07/0.7134, allocations: 3.938 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.725, allocations: 2.617 MB / 1.035 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.7253, allocations: 193.7 kB / 1.035 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.408, allocations: 0 / 1.035 GB, free: 3.398 MB / 0.7794 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