Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_9_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.007592/0.007592, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.001399/0.001399, allocations: 189 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 63.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8639/0.8656, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001727/0.8673, allocations: 0.6586 MB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.8686, allocations: 1.191 MB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.8687, allocations: 1.312 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.8687, allocations: 4.5 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.082e-05/0.8688, allocations: 7.125 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.8694, allocations: 225.8 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.8697, allocations: 184.4 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.8698, allocations: 11.67 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.8699, allocations: 71 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.87, allocations: 59.08 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.8701, allocations: 23.97 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.8701, allocations: 29.48 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.8702, allocations: 16.61 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.449e-05/0.8703, allocations: 53.33 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.8705, allocations: 155.4 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8705, allocations: 1.062 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8705, allocations: 0 / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.8706, allocations: 0 / 1.09 GB, free: 3.66 MB / 0.8575 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.0004484/0.871, allocations: 433.6 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.8711, allocations: 9.5 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.8711, allocations: 40.42 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.8711, allocations: 12.81 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.502e-05/0.8712, allocations: 168.7 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.8712, allocations: 9.109 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.8713, allocations: 10.23 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.8714, allocations: 46.86 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.8714, allocations: 3.938 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.8714, allocations: 4.656 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.8714, allocations: 1.344 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.8715, allocations: 13.95 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.8719, allocations: 368 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.873e-05/0.872, allocations: 32.11 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.872, allocations: 16.7 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.8721, allocations: 1.75 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.8722, allocations: 89.67 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.8722, allocations: 0 / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002362/0.8725, allocations: 109.2 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.8725, allocations: 53.03 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/0.8726, allocations: 117.1 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.8726, allocations: 29.58 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.8727, allocations: 94.78 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.8727, allocations: 15 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.8728, allocations: 53.28 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.8728, allocations: 326.3 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.873, allocations: 60.14 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.8731, allocations: 93.69 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.8733, allocations: 159 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8733, allocations: 1 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004297/0.8737, allocations: 261.8 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.8738, allocations: 68.77 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.8738, allocations: 9.438 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.8738, allocations: 2.219 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.096e-05/0.8739, allocations: 3.172 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.8739, allocations: 9.562 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.8742, allocations: 55.83 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.8743, allocations: 16.41 kB / 1.093 GB, free: 1.32 MB / 0.8575 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 7.988e-05/0.8744, allocations: 123.2 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.8744, allocations: 3.891 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.8744, allocations: 14.34 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8744, allocations: 1.75 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8744, allocations: 0 / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8744, allocations: 0.5156 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.8746, allocations: 179.8 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8746, allocations: 1 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-06/0.8746, allocations: 1.547 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.8746, allocations: 1 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.8746, allocations: 1.953 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8746, allocations: 1.219 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8746, allocations: 8.453 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.8747, allocations: 119.7 kB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.8748, allocations: 83.5 kB / 1.093 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.8748, allocations: 6.078 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.994e-05/0.8748, allocations: 0.6562 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.8749, allocations: 7.047 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.8749, allocations: 7.453 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.699e-05/0.8749, allocations: 90.55 kB / 1.093 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8749, allocations: 4 kB / 1.093 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002685/0.8752, allocations: 27.02 kB / 1.093 GB, free: 0.6953 MB / 0.8575 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.000419/0.8756, allocations: 0.6575 MB / 1.094 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003597/0.876, allocations: 245.5 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.876, allocations: 4.062 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.597e-05/0.8761, allocations: 30.83 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.8763, allocations: 16 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.8783, allocations: 1.719 MB / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.8786, allocations: 0.6857 MB / 1.097 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.8786, allocations: 5.688 kB / 1.097 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.8787, allocations: 19.8 kB / 1.097 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/0.8787, allocations: 0.625 kB / 1.097 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.9008, allocations: 2.968 MB / 1.1 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/8.42, allocations: 13.41 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches