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.0121/0.0121, allocations: 103.3 kB / 15.74 MB, free: 6.004 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.002114/0.002115, allocations: 188.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.252/2.252, 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 3.14/3.14, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 71.88 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466/1.468, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002862/1.471, allocations: 0.6579 MB / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00228/1.473, allocations: 1.192 MB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/1.473, allocations: 0 / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/1.473, allocations: 4.453 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/1.473, allocations: 11.12 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009195/1.474, allocations: 219.1 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004254/1.475, allocations: 188.2 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/1.475, allocations: 11.45 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/1.475, allocations: 71.94 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/1.475, allocations: 58.55 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/1.475, allocations: 15.09 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/1.476, allocations: 29.22 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/1.476, allocations: 14.31 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/1.476, allocations: 57.27 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000343/1.476, allocations: 162.7 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.476, allocations: 1.312 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.444e-06/1.476, allocations: 0 / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.476, allocations: 0 / 1.09 GB, free: 3.652 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.0005889/1.477, allocations: 431.1 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/1.477, allocations: 10.25 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/1.477, allocations: 32.67 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/1.477, allocations: 13.17 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.477, allocations: 167.5 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/1.477, allocations: 14.53 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/1.477, allocations: 13.55 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/1.477, allocations: 53.88 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.477, allocations: 5.031 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/1.477, allocations: 0.7969 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/1.477, allocations: 1.125 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.983e-05/1.477, allocations: 18.92 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/1.478, allocations: 359.4 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/1.478, allocations: 35.47 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/1.478, allocations: 21.39 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/1.478, allocations: 0 / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/1.479, allocations: 83.47 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/1.479, allocations: 0 / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003942/1.479, allocations: 104.9 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/1.479, allocations: 61.41 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/1.479, allocations: 116 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/1.479, allocations: 30.05 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/1.48, allocations: 94.27 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/1.48, allocations: 14.86 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/1.48, allocations: 49.73 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.48, allocations: 318.6 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/1.48, allocations: 60.67 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/1.48, allocations: 97.23 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/1.481, allocations: 155 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.481, allocations: 4.703 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005993/1.481, allocations: 266.4 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.792e-05/1.481, allocations: 67.92 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.481, allocations: 2.578 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.481, allocations: 1.469 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.641e-05/1.481, allocations: 6.359 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.481, allocations: 2.812 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/1.482, allocations: 60.14 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/1.482, allocations: 16.31 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 0.0001108/1.482, allocations: 122.8 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/1.482, allocations: 2.969 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/1.482, allocations: 10.36 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.482, allocations: 1.766 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.482, allocations: 0.9062 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.482, allocations: 4 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/1.482, allocations: 175.9 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.482, allocations: 9.312 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/1.482, allocations: 2.141 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.482, allocations: 0 / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/1.482, allocations: 1.781 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.482, allocations: 1.359 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.482, allocations: 4.938 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/1.482, allocations: 119.1 kB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/1.483, allocations: 88.23 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/1.483, allocations: 2.078 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.365e-05/1.483, allocations: 5.031 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/1.483, allocations: 6.219 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/1.483, allocations: 3.688 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.764e-05/1.483, allocations: 94.34 kB / 1.093 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.483, allocations: 0 / 1.093 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002918/1.483, allocations: 32.17 kB / 1.093 GB, free: 0.6914 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.000472/1.484, allocations: 0.6618 MB / 1.094 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004204/1.484, allocations: 244.8 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/1.484, allocations: 0.875 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/1.484, allocations: 34.92 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/1.484, allocations: 20.05 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/1.487, allocations: 1.713 MB / 1.096 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/1.487, allocations: 0.6891 MB / 1.097 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.206e-05/1.487, allocations: 6.125 kB / 1.097 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/1.487, allocations: 20.11 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.487, allocations: 0.7188 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/1.511, allocations: 2.892 MB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/13.59, allocations: 15.69 kB / 1.1 GB, free: 13.23 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