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.0009987/0.0009984, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009613/0.0009613, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.382/2.382, allocations: 437 MB / 0.7099 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 71.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5933/0.5947, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001932/0.5967, allocations: 0.7227 MB / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.5982, allocations: 1.202 MB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.5982, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/0.5983, allocations: 11.86 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.5984, allocations: 7.922 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.599, allocations: 192.6 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.5991, allocations: 159.7 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.724e-05/0.5992, allocations: 8 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.5993, allocations: 67.81 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.5994, allocations: 47.88 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.5995, allocations: 8 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.5996, allocations: 23.98 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.5996, allocations: 7.922 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.5997, allocations: 51.88 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.5999, allocations: 153.8 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5999, allocations: 4 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.42e-07/0.5999, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.5999, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 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.0005054/0.6004, allocations: 434.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.6005, allocations: 12.03 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.6005, allocations: 30.75 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.6005, allocations: 12.84 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.6007, allocations: 172.3 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.6007, allocations: 4.375 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.6007, allocations: 12.38 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.6008, allocations: 50.23 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6008, allocations: 7.938 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.6009, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6009, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.6009, allocations: 19.94 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.6014, allocations: 352.7 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.074e-05/0.6014, allocations: 42.56 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.6015, allocations: 20.94 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.6015, allocations: 3.984 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.6017, allocations: 79.31 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.6017, allocations: 4 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002333/0.6019, allocations: 101.6 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.602, allocations: 59.41 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.6021, allocations: 125.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.6021, allocations: 29.7 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.6022, allocations: 92.08 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.6022, allocations: 19.75 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.6023, allocations: 45.69 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.6024, allocations: 322.8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.6025, allocations: 59.97 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.6027, allocations: 105.9 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.6028, allocations: 155.6 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6028, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004139/0.6033, allocations: 268.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.6033, allocations: 71.39 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6033, allocations: 320 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.6034, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.369e-05/0.6034, allocations: 11.92 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.6034, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.6037, allocations: 56 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.6038, allocations: 23.97 kB / 1.022 GB, free: 13.08 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 9.947e-05/0.6039, allocations: 122.3 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.6039, allocations: 4.375 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.6039, allocations: 12.38 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.604, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.604, allocations: 3.984 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.604, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.6041, allocations: 177.5 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6041, allocations: 4 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.6041, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.6041, allocations: 3.984 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.6042, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6042, allocations: 3.938 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6042, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.6043, allocations: 113 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.6044, allocations: 85.02 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.6044, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.128e-05/0.6044, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.6045, allocations: 7.984 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.6045, allocations: 4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.6045, allocations: 95.2 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6045, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002309/0.6048, allocations: 32 kB / 1.023 GB, free: 12.32 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.0004412/0.6052, allocations: 0.6553 MB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.6055, allocations: 242.7 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6056, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/0.6056, allocations: 28 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.6059, allocations: 25.11 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.6077, allocations: 1.713 MB / 1.025 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.6079, allocations: 0.6887 MB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.6079, allocations: 4 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.608, allocations: 23.47 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of SimCode: time 7.11e-07/0.608, allocations: 0 / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.6196, allocations: 2.683 MB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.6198, allocations: 199.2 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.119, allocations: 7.875 kB / 1.029 GB, free: 5.914 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