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: 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_latest_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_latest_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.005881/0.005881, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.001368/0.001368, allocations: 191.3 kB / 16.79 MB, free: 5.805 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.367/1.367, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.773/2.773, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 64.67 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2811, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002031/0.2832, allocations: 0.7039 MB / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.2849, allocations: 1.217 MB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.2849, allocations: 4 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.285, allocations: 7.922 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.624e-05/0.2851, allocations: 7.922 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.2857, allocations: 193.4 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.2859, allocations: 155.7 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.286, allocations: 12 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2861, allocations: 63.88 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.2862, allocations: 47.81 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.2863, allocations: 12 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.514e-05/0.2864, allocations: 19.98 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.2864, allocations: 11.92 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.918e-05/0.2865, allocations: 51.88 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.2866, allocations: 103.8 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2867, allocations: 7.938 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.068e-06/0.2867, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2867, allocations: 3.938 kB / 1.055 GB, free: 5.637 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.0005056/0.2872, allocations: 438.9 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2872, allocations: 11.97 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.2873, allocations: 12.84 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2874, allocations: 168.4 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2874, allocations: 8.375 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.2875, allocations: 8.375 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.2876, allocations: 46.25 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2876, allocations: 192 / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2876, allocations: 15.92 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2876, allocations: 0 / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.29e-05/0.2877, allocations: 15.94 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.2881, allocations: 356.7 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.13e-05/0.2882, allocations: 34.5 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.2883, allocations: 20.86 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.2883, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.2885, allocations: 87.38 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2885, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002555/0.2887, allocations: 105.6 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.2888, allocations: 55.41 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.2889, allocations: 118.1 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.2889, allocations: 29.7 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.289, allocations: 96.12 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.289, allocations: 19.89 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.2892, allocations: 53.56 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2893, allocations: 326.8 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.2894, allocations: 55.97 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.2896, allocations: 96.25 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.2898, allocations: 151.6 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2898, allocations: 4 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004497/0.2903, allocations: 268.7 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.2903, allocations: 68.95 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2904, allocations: 4 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2904, allocations: 0 / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.315e-05/0.2904, allocations: 4 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2904, allocations: 3.938 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.2908, allocations: 52.05 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.2908, allocations: 19.98 kB / 1.058 GB, free: 2.633 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 0.0001014/0.2909, allocations: 129.7 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.2909, allocations: 3.906 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.291, allocations: 12.38 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.291, allocations: 0 / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.291, allocations: 64 / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.291, allocations: 4 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.2911, allocations: 177.6 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2911, allocations: 4.094 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-06/0.2912, allocations: 3.938 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2912, allocations: 7.984 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2912, allocations: 0 / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2912, allocations: 3.984 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2912, allocations: 3.938 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.2914, allocations: 117.2 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.2914, allocations: 89 kB / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2914, allocations: 8 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.181e-05/0.2915, allocations: 0 / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.2915, allocations: 7.984 kB / 1.058 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.2915, allocations: 4 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.2916, allocations: 91.27 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2916, allocations: 0 / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002411/0.2918, allocations: 32 kB / 1.059 GB, free: 1.852 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.000134/0.292, allocations: 99.25 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.2923, allocations: 254.6 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2923, allocations: 0 / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.902e-05/0.2924, allocations: 35.92 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.2926, allocations: 19.92 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.293, allocations: 186.5 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.2932, allocations: 0.6887 MB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.2933, allocations: 11.44 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.2933, allocations: 0 / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of Templates: time 0.00307/0.2963, allocations: 1.385 MB / 1.061 GB, free: 15.1 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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