Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_11_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.001272/0.001272, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 199.2 kB / 16.54 MB, free: 6.664 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 66.62 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2638, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001764/0.2656, allocations: 0.6527 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.267, allocations: 1.192 MB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.267, allocations: 0 / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.267, allocations: 3.938 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.2671, allocations: 15.91 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.2676, allocations: 213.9 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.2678, allocations: 187.7 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.596e-05/0.2679, allocations: 11.98 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.268, allocations: 75.81 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.2681, allocations: 43.88 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.2682, allocations: 20 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.2682, allocations: 31.98 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.2683, allocations: 11.94 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.2683, allocations: 55.88 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.2685, allocations: 151.9 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2686, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2686, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.2686, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8262 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.0005082/0.2691, allocations: 434.7 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2691, allocations: 12.02 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.2692, allocations: 38.75 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.2692, allocations: 12.84 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2693, allocations: 172.3 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2694, allocations: 4.375 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.2694, allocations: 12.36 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.677e-05/0.2695, allocations: 50.25 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2695, allocations: 3.938 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.2695, allocations: 0 / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2695, allocations: 0 / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.067e-05/0.2696, allocations: 15.98 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.27, allocations: 368.5 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.768e-05/0.2701, allocations: 38.56 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.2701, allocations: 12.86 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-06/0.2701, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.2703, allocations: 91.44 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2703, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002182/0.2705, allocations: 105.5 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.2706, allocations: 55.41 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.2707, allocations: 113.8 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.2707, allocations: 33.7 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.2708, allocations: 96.03 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.2708, allocations: 7.906 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.015e-05/0.2709, allocations: 53.69 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.271, allocations: 322.8 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.2712, allocations: 63.91 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.2713, allocations: 92.2 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.2715, allocations: 168.1 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2715, allocations: 3.938 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004023/0.2719, allocations: 256.8 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.272, allocations: 73.27 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.272, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.272, allocations: 3.984 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.991e-05/0.272, allocations: 16.19 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.2721, allocations: 0 / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.2724, allocations: 55.83 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.2724, allocations: 12 kB / 1.069 GB, free: 8.516 MB / 0.8262 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.0001016/0.2725, allocations: 133.6 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.2726, allocations: 8 kB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.2726, allocations: 8.375 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2726, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2726, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2726, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.2728, allocations: 181.6 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2728, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.738e-06/0.2728, allocations: 4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.2728, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.2728, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2728, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2728, allocations: 4 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.2729, allocations: 116.9 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.273, allocations: 85.02 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.273, allocations: 3.984 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.273, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.2731, allocations: 8 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.2731, allocations: 7.984 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.2731, allocations: 91.22 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2732, allocations: 4 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002189/0.2734, allocations: 35.98 kB / 1.07 GB, free: 7.742 MB / 0.8262 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.0004483/0.2738, allocations: 0.6591 MB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.2742, allocations: 246.9 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2742, allocations: 4.062 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.2742, allocations: 27.98 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.2744, allocations: 11.98 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.2763, allocations: 1.707 MB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.2765, allocations: 0.6846 MB / 1.073 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.2766, allocations: 11.98 kB / 1.073 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.2766, allocations: 19.44 kB / 1.073 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.2766, allocations: 0 / 1.073 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7576/1.034, allocations: 2.883 MB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.72, allocations: 2.625 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches