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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 105 kB / 15.99 MB, free: 6.355 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.00144/0.00144, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.592/2.592, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 73.09 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.285, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001811/0.2868, allocations: 0.704 MB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2883, allocations: 1.194 MB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.2883, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.2884, allocations: 3.938 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.2885, allocations: 11.91 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.289, allocations: 202.7 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.2893, allocations: 191.6 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.914e-05/0.2893, allocations: 15.94 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.2894, allocations: 67.88 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.2895, allocations: 47.88 kB / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.2896, allocations: 16 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.2897, allocations: 27.98 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.2897, allocations: 11.92 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.71e-05/0.2898, allocations: 59.88 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.2899, allocations: 103.8 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2899, allocations: 4 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.216e-06/0.2899, allocations: 0 / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2899, allocations: 3.938 kB / 1.067 GB, free: 12.46 MB / 0.8419 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.0005396/0.2905, allocations: 437.1 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.2905, allocations: 8.031 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.2906, allocations: 12.84 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2907, allocations: 168.3 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.2907, allocations: 8.359 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.2908, allocations: 12.38 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.2909, allocations: 50.25 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2909, allocations: 192 / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2909, allocations: 3.938 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2909, allocations: 3.984 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.291, allocations: 19.94 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.2915, allocations: 352.7 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.578e-05/0.2916, allocations: 46.5 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.2916, allocations: 12.86 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.2916, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.2918, allocations: 95.36 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.2918, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0002308/0.292, allocations: 97.58 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.2921, allocations: 59.41 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.2922, allocations: 121.8 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.2923, allocations: 29.7 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.2923, allocations: 96.03 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.2924, allocations: 15.89 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.2925, allocations: 53.62 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2926, allocations: 318.8 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.2927, allocations: 59.97 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.2929, allocations: 100.2 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.2931, allocations: 151.6 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2931, allocations: 0 / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004305/0.2936, allocations: 264.8 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/0.2936, allocations: 71.39 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2936, allocations: 0 / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2937, allocations: 0 / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.358e-05/0.2937, allocations: 4 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2937, allocations: 3.938 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.2941, allocations: 59.95 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.2941, allocations: 23.92 kB / 1.069 GB, free: 9.457 MB / 0.8419 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.0001137/0.2942, allocations: 127.5 kB / 1.069 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.2942, allocations: 4.469 kB / 1.07 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.2943, allocations: 8.375 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2943, allocations: 0 / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.2943, allocations: 8.047 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2943, allocations: 0 / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2945, allocations: 181.5 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2945, allocations: 4 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.036e-05/0.2945, allocations: 4 kB / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2945, allocations: 0 / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2945, allocations: 0 / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2945, allocations: 3.984 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2945, allocations: 3.938 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.2947, allocations: 113 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.2947, allocations: 89 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.2948, allocations: 4 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.166e-05/0.2948, allocations: 4 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.2948, allocations: 7.984 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2948, allocations: 4 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.407e-05/0.2949, allocations: 91.27 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2949, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002343/0.2952, allocations: 36 kB / 1.07 GB, free: 8.684 MB / 0.8419 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.0001519/0.2953, allocations: 99.25 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.2957, allocations: 254.6 kB / 1.07 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2957, allocations: 4 kB / 1.07 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.2958, allocations: 27.98 kB / 1.07 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.296, allocations: 15.98 kB / 1.07 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.2964, allocations: 196.7 kB / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.2967, allocations: 0.6846 MB / 1.071 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.2967, allocations: 11.44 kB / 1.071 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of SimCode: time 3.396e-06/0.2967, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of Templates: time 0.003/0.2997, allocations: 1.396 MB / 1.073 GB, free: 5.934 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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