Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_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.001276/0.001276, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001302/0.001302, allocations: 192 kB / 16.14 MB, free: 6.645 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 461.8 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 70.38 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2612, allocations: 157.4 MB / 1.052 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001809/0.263, allocations: 0.7156 MB / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2644, allocations: 1.217 MB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.2645, allocations: 0 / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.2645, allocations: 3.938 kB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/0.2646, allocations: 11.94 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.2651, allocations: 194.1 kB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.2653, allocations: 151.7 kB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.2654, allocations: 11.98 kB / 1.054 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.2655, allocations: 59.89 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/0.2656, allocations: 59.84 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.2656, allocations: 11.94 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.864e-05/0.2657, allocations: 23.98 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.2658, allocations: 7.938 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.806e-05/0.2658, allocations: 47.88 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.266, allocations: 151.8 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.266, allocations: 3.984 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.92e-07/0.266, allocations: 0 / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.266, allocations: 0 / 1.055 GB, free: 5.602 MB / 0.8106 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.0004573/0.2665, allocations: 434.8 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2666, allocations: 15.97 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.2666, allocations: 34.73 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.2666, allocations: 12.84 kB / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.937e-05/0.2667, allocations: 164.4 kB / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.2668, allocations: 4.375 kB / 1.055 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.2668, allocations: 12.38 kB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.505e-05/0.2669, allocations: 50.23 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2669, allocations: 3.938 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2669, allocations: 0 / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.2669, allocations: 3.938 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.267, allocations: 23.98 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.2674, allocations: 360.6 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.101e-05/0.2675, allocations: 34.58 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.2675, allocations: 20.94 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.2675, allocations: 0 / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.2677, allocations: 87.31 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2677, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002213/0.2679, allocations: 105.8 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.268, allocations: 59.39 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.2681, allocations: 118.1 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.2681, allocations: 29.7 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.2682, allocations: 92.12 kB / 1.056 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.2682, allocations: 19.89 kB / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.884e-05/0.2683, allocations: 57.62 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.2684, allocations: 314.8 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.2685, allocations: 63.95 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2686, allocations: 92.27 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.2688, allocations: 163.5 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2688, allocations: 0 / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003866/0.2692, allocations: 260.9 kB / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.2693, allocations: 71.39 kB / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.2693, allocations: 4.125 kB / 1.057 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2693, allocations: 8 kB / 1.057 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.881e-05/0.2693, allocations: 3.938 kB / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2693, allocations: 4 kB / 1.057 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.2697, allocations: 47.94 kB / 1.057 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.2697, allocations: 15.98 kB / 1.057 GB, free: 2.551 MB / 0.8106 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 8.836e-05/0.2698, allocations: 133 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.2698, allocations: 11.89 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.2699, allocations: 4.375 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2699, allocations: 0 / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2699, allocations: 0 / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2699, allocations: 3.984 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.27, allocations: 185.6 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.27, allocations: 96 / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-06/0.27, allocations: 11.88 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.27, allocations: 0 / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.2701, allocations: 0 / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2701, allocations: 4 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2701, allocations: 4 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.2702, allocations: 109 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.2702, allocations: 85.02 kB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.2703, allocations: 0 / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.216e-05/0.2703, allocations: 7.984 kB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2703, allocations: 4 kB / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.2704, allocations: 8 kB / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.2704, allocations: 91.27 kB / 1.058 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2704, allocations: 0 / 1.058 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002271/0.2706, allocations: 32 kB / 1.058 GB, free: 1.777 MB / 0.8106 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.0003885/0.271, allocations: 0.6514 MB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003015/0.2713, allocations: 246.7 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2714, allocations: 7.938 kB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.507e-05/0.2714, allocations: 27.94 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.2716, allocations: 11.98 kB / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.2733, allocations: 1.707 MB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2735, allocations: 0.6926 MB / 1.061 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.2736, allocations: 4 kB / 1.061 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.2736, allocations: 23.42 kB / 1.061 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.2736, allocations: 3.938 kB / 1.061 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.2849, allocations: 2.68 MB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.2851, allocations: 212.7 kB / 1.064 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.948, allocations: 64 / 1.064 GB, free: 11.38 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches